Date: Sun, 30 Mar 2008 11:31:14 +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/sys/sys cpuset.h src/sys/kern kern_cpuset.c Message-ID: <200803301131.m2UBVEGQ063034@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803301131.m2UBVEGQ063034>