Permit init(8) use its own cpuset group.
Alexander V. Chernikov
melifaro at FreeBSD.org
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
cores
used for network traffic processing is one of the cases.
Phabricator: https://phabric.freebsd.org/D141 (the same version attached
inline)
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: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20140602/b9385358/attachment.bin>
More information about the freebsd-hackers
mailing list