svn commit: r219399 - head/sys/kern
John Baldwin
jhb at freebsd.org
Tue Mar 8 21:59:04 UTC 2011
On Tuesday, March 08, 2011 9:18:21 am John Baldwin wrote:
> Author: jhb
> Date: Tue Mar 8 14:18:21 2011
> New Revision: 219399
> URL: http://svn.freebsd.org/changeset/base/219399
>
> Log:
> When constructing a new cpuset, apply the parent cpuset's mask to the new
> set's mask rather than the root mask. This was causing the root mask to
> be modified incorrectly.
>
> Reviewed by: jeff
> MFC after: 1 week
The effect of this bug was that if you started a jail from a thread that had a
restricted cpuset (e.g. cpuset -l 0 sh /etc/rc.d/jail start), then the root
cpuset for the entire system would be changed to just be the restricted set
(e.g. '0'). The existing cpusets such as set 1 were not modified, but if you
later tried to modify a set such as set 1 or create a new set by something
like 'cpuset -l 2 foo', then those actions would fail.
--
John Baldwin
More information about the svn-src-head
mailing list