Re: CPUSET Proposal

Erich Focht
2003-09-24T22:27:58Z

On Thursday 25 September 2003 00:06, David Mosberger wrote:
> BTW: What do cpusets provide that couldn't be done with user-level
> tools on top of the existing sched_setaffinity() system call?

You've got one point here. As the cpumasks are inherited, you'd just
have to make sure that a user cannot escape his cpuset by e.g. not
allowing the mask to get bigger than the mask of the parent process
(which can be owned by root, thus unchangeable). The management of the
cpusets can then be taken over by a user space daemon.

Erich