Permit init(8) use its own cpuset group.

Alexander V. Chernikov melifaro at
Mon Jun 2 14:53:49 UTC 2014

Hello list!

Currently init(8) uses group 1 which is root group.
Modifications of this group affects both kernel and userland threads.
Additionally, such modifications are impossible, for example, in presence
of multi-queue NIC drivers (like igb or ixgbe) which binds their threads to
particular cpus.

Proposed change ("init_cpuset" loader tunable) permits changing cpu 
masks for
userland more easily. Restricting user processes to migrate to/from CPU 
used for network traffic processing is one of the cases.

Phabricator: (the same version attached 

If there are no objections, I'll commit this next week.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: init_cpuset.diff
Type: text/x-patch
Size: 937 bytes
Desc: not available
URL: <>

More information about the freebsd-hackers mailing list