]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix a bug in the CPU % limiting code
authorJosh Paetzel <jpaetzel@FreeBSD.org>
Tue, 10 Nov 2015 14:14:32 +0000 (14:14 +0000)
committerJosh Paetzel <jpaetzel@FreeBSD.org>
Tue, 10 Nov 2015 14:14:32 +0000 (14:14 +0000)
commit09766dd52a907797471cb4cdd2bbaef82a22ec98
tree45d01e5db1b80288a4e6e7e5a7d8e2b62625398f
parent5fcbe89ac996806a05411fa3b76d73ec9c5b4951
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
MFC after: 1 week
sys/kern/kern_racct.c