K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-07-25T17:46:01.582484Z K 7 svn:log V 798 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 END