Re: getaffinity/setaffinity and cpu sets.
- From: David Schultz <das@xxxxxxxxxxx>
- Date: Thu, 21 Feb 2008 16:08:04 -0500
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:
http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/sys/pset.h
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@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: getaffinity/setaffinity and cpu sets.
- From: Jeff Roberson
- Re: getaffinity/setaffinity and cpu sets.
- References:
- Re: Linux compatible setaffinity.
- From: Jeff Roberson
- Re: Linux compatible setaffinity.
- From: Robert Watson
- Re: Linux compatible setaffinity.
- From: Jeff Roberson
- Re: Linux compatible setaffinity.
- From: Robert Watson
- Re: Linux compatible setaffinity.
- From: David Xu
- Re: Linux compatible setaffinity.
- From: Jeff Roberson
- getaffinity/setaffinity and cpu sets.
- From: Jeff Roberson
- Re: Linux compatible setaffinity.
- Prev by Date: Re: dev.* analogue for interfaces
- Next by Date: Re: getaffinity/setaffinity and cpu sets.
- Previous by thread: Re: getaffinity/setaffinity and cpu sets.
- Next by thread: Re: getaffinity/setaffinity and cpu sets.
- Index(es):