[lkml]   [2003]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: 2.6 must-fix list, v2
On Wed, 2003-05-14 at 07:02, Felipe Alfaro Solana wrote:

> > > > - Add ability to restrict the the default CPU affinity mask so that
> > > > sys_setaffinity() can be used to implement exclusive access to a CPU.
> > >
> > > Why is this useful?
> >
> > I forgot to add that the result is the rough equivalent of Digital UNIX's psets
> > and Irix's sysmp for my prurposes at least.
> And psets and fencing in Solaris too...

You can get exclusive access with mangling the system call, simply by
having init bind itself to the non-exclusive processors on boot.

Try it. Every task will then end up on only the non-exclusive
processors. Seems a very simple change to me, and one that can be done
in user-space.

You do not even have to modify init, if you do not want. Grab and put a taskset call in your rc.d

Robert Love

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:35    [W:0.188 / U:1.572 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site