[Bug 189870] [kernel] Possible bad CPU resource limit assumption in kern_racct.c

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jan 15 19:39:40 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=189870

--- Comment #1 from dustinwenz at ebureau.com ---
Created attachment 151701
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=151701&action=edit
Patch for kern_racct.c that permits CPU limiting beyond 100%

This is the patch I've been using on 10.1-STABLE #11 r277139M. It uses a more
reasonable CPU limit which is 100% * MAXCPU. It would be nice to get this
rolled into the distribution; I can't imagine multi-core CPU limits have worked
for anyone in 10/10.1.

For anyone who wants to try this, apply as follows before rebuilding the
kernel:

 patch /usr/src/sys/kern/kern_racct.c < kern_racct.c.patch

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list