Date: Wed, 5 Mar 2008 01:49:20 +0000 (UTC) From: Jeff Roberson <jeff@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/cpuset cpuset.c src/sys/sys cpuset.h src/sys/kern kern_cpuset.c Message-ID: <200803050149.m251nL4S081921@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jeff 2008-03-05 01:49:20 UTC
FreeBSD src repository
Modified files:
usr.bin/cpuset cpuset.c
sys/sys cpuset.h
sys/kern kern_cpuset.c
Log:
- Verify that when a user supplies a mask that is bigger than the kernel
mask none of the upper bits are set.
- Be more careful about enforcing the boundaries of masks and child sets.
- Introduce a few more CPU_* macros for implementing these tests.
- Change the cpusetsize argument to be bytes rather than bits to match
other apis.
Sponsored by: Nokia
Revision Changes Path
1.2 +78 -26 src/sys/kern/kern_cpuset.c
1.2 +22 -0 src/sys/sys/cpuset.h
1.2 +7 -8 src/usr.bin/cpuset/cpuset.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803050149.m251nL4S081921>
