On Wed, 19 Jun 2002, Rusty Russell wrote:>> > That doesn't work. Think of SMT CPU pairs (aka HyperThreading) or> > quads that share caches.>> This is the NUMA "I want to be in this group" problem. If you're> serious about this, you'll go for a sys_sched_groupaffinity call, or> add an extra arg to sys_sched_setaffinity, or simply use the top 16> bits of the cpu arg.

Oh, yes. That makes sense. NOT.

> Sorry, the current interface is insufficient for NUMA *and* is> impossible[1] for the user to use correctly.

Don't be silly.

Give _one_ good reason why the affinity system call cannot take a simplebitmask? It's trivial to use, your arguments do not make any sense.