cvs commit: src/lib/libc/sys Makefile.inc Symbol.map cpuset.2
cpuset_getaffinity.2 src/sys/compat/freebsd32 freebsd32_misc.c
syscalls.master src/sys/conf files src/sys/kern init_main.c
kern_cpuset.c kern_thread.c makesyscalls.sh sched_4bsd.c ...
John Baldwin
jhb at FreeBSD.org
Fri Jul 25 17:51:20 UTC 2008
jhb 2008-07-25 17:46:01 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
lib/libc/sys Makefile.inc Symbol.map
sys/compat/freebsd32 freebsd32_misc.c syscalls.master
sys/conf files
sys/kern init_main.c kern_thread.c makesyscalls.sh
sched_4bsd.c sched_ule.c syscalls.master
sys/sys _types.h priv.h proc.h sched.h types.h
Added files: (Branch: RELENG_7)
lib/libc/sys cpuset.2 cpuset_getaffinity.2
sys/kern kern_cpuset.c
sys/sys cpuset.h
usr.bin/cpuset Makefile cpuset.1 cpuset.c
Log:
SVN rev 180808 on 2008-07-25 17:46:01Z by jhb
MFC: Add cpuset, an api for thread to cpu binding and cpu resource grouping
and assignment. This is mostly synched up with what is in HEAD with the
following exceptions:
- I didn't MFC any of the interrupt binding stuff as it requires other
changes and I figured this change was large enough as it is.
- The sched_affinity() implementation for ULE in HEAD depends on the newer
CPU topology stuff as well as other changes in ULE. Rather than
backport all of that, I implemented sched_affinity() using the existing
CPU topology and ULE code in 7.x. Thus, any bugs in the ULE affinity
stuff in 7 are purely my fault and not Jeff's.
Note that, just as in HEAD, cpusets currently don't work on SCHED_4BSD (the
syscalls will succeed, but they don't have any effect).
Tested by: brooks, ps
Revision Changes Path
1.127.2.4 +4 -2 src/lib/libc/sys/Makefile.inc
1.9.2.5 +15 -0 src/lib/libc/sys/Symbol.map
1.2.2.1 +226 -0 src/lib/libc/sys/cpuset.2 (new)
1.2.2.1 +157 -0 src/lib/libc/sys/cpuset_getaffinity.2 (new)
1.67.2.4 +57 -0 src/sys/compat/freebsd32/freebsd32_misc.c
1.91.2.4 +20 -0 src/sys/compat/freebsd32/syscalls.master
1.1243.2.30 +1 -0 src/sys/conf/files
1.283.2.5 +2 -0 src/sys/kern/init_main.c
1.13.2.1 +1002 -0 src/sys/kern/kern_cpuset.c (new)
1.255.2.5 +5 -1 src/sys/kern/kern_thread.c
1.68.2.1 +1 -1 src/sys/kern/makesyscalls.sh
1.106.2.4 +7 -0 src/sys/kern/sched_4bsd.c
1.214.2.5 +100 -44 src/sys/kern/sched_ule.c
1.233.2.3 +15 -0 src/sys/kern/syscalls.master
1.23.2.1 +3 -0 src/sys/sys/_types.h
1.7.2.1 +185 -0 src/sys/sys/cpuset.h (new)
1.15.2.5 +1 -0 src/sys/sys/priv.h
1.491.2.6 +2 -1 src/sys/sys/proc.h
1.33.2.1 +2 -1 src/sys/sys/sched.h
1.96.2.1 +4 -0 src/sys/sys/types.h
1.2.2.1 +6 -0 src/usr.bin/cpuset/Makefile (new)
1.3.2.1 +175 -0 src/usr.bin/cpuset/cpuset.1 (new)
1.5.2.1 +320 -0 src/usr.bin/cpuset/cpuset.c (new)
More information about the cvs-src
mailing list