I have no specific comments, but I wanted to point out that the
Solaris kernel team put a lot of thought into coming up with a
flexible processor binding API for Solaris 10 that meshes well
with jails (a.k.a. zones in Solaris). It might be worthwhile to
investigate what good ideas they might have had, and to decide if
compatibility is worthwhile:


There are manpages for this stuff somewhere. pset_create and
pset_destroy obviously create and delete processor set definitions.
pset_bind binds a particular process / thread / session / jail
to a processor set, similar to your CPU_WHICH_* flags, I think,
but with more options.
freebsd-arch@freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"