cvs commit: src/sys/sys cpuset.h src/sys/kern kern_cpuset.c
Jeff Roberson
jeff at FreeBSD.org
Sun Mar 30 04:31:14 PDT 2008
jeff 2008-03-30 11:31:14 UTC
FreeBSD src repository
Modified files:
sys/sys cpuset.h
sys/kern kern_cpuset.c
Log:
- Consistently return EDEADLK when presented with a new set that is
incompatible with existing bindings.
- Try to copyout the setid in cpuset() before migrating the proc to the
setid in case the user has supplied a bad buffer.
- Rename cpuset_root() and cpuset_base() to cpuset_ref{root,base} to
be more descriptive and free cpuset_root to be used as a different
type of symbol.
- Make cpuset_root the cpuset_t set of all cpus in the system. This
should contain the same bitmask as all_cpus presently.
- Add a CPU_CMP() macro to compare two sets.
Revision Changes Path
1.7 +27 -20 src/sys/kern/kern_cpuset.c
1.5 +15 -1 src/sys/sys/cpuset.h
More information about the cvs-src
mailing list