]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC 290662
authorjpaetzel <jpaetzel@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 20 Nov 2015 15:13:49 +0000 (15:13 +0000)
committerjpaetzel <jpaetzel@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 20 Nov 2015 15:13:49 +0000 (15:13 +0000)
commite87a60e8bcaca749e9db7eb1cf9b4b927001d1a6
tree5ca5bc500dc5ee21f982affc422fd07dbbbdde9a
parent2f0afe4021bfed66a527f186aebcb21df62be0a9
MFC 290662

Fix a bug in the CPU % limiting code

If you attempt to set a pcpu limit that is higher than
110% using rctl (for instance, you want a jail to be
able to use 2 cores on your system so you set pcpu to
200%) the thing you are trying to limit becomes unthrottled.

PR:     189870
Submitted by:   dustinwenz@ebureau.com
Reviewed by:    trasz

git-svn-id: svn://svn.freebsd.org/base/stable/10@291100 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/kern/kern_racct.c