[lkml]   [2002]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] syscall interface for cpu affinity
On Fri, Mar 15, 2002 at 02:06:04PM -0800, Stephen Samuel wrote:
> >
> > int sched_set_affinity(int which, int who, unsigned int len,
> > unsigned long *new_mask_ptr);
> >
> > with who one of {PRIO_PROCESS,PRIO_PGRP,PRIO_USER} and which according
> > to the value of who.

Uh, who/which should be just the other way round in the description
(but not in the prototype). Sorry.

> I soule suggest that the order be
> int sched_set_affinity(int who, int which, unsigned int len,
> unsigned long *new_mask_ptr);
> This would have the {p,pg}id be the first thing that a programmer
> would see (likely more important than the 'which'.).

See my correction above, does that address your concern?

Andreas Ferber - dev/consulting GmbH - Bielefeld, FRG
+49 521 1365800 - -
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:24    [W:0.072 / U:6.156 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site