Re: SMP: bind process to cpu

Christoph Hellwig (
Sat, 17 Feb 2001 18:47:56 +0100

[Nick, I've added you to the Cc list so you can look at
it for future versions of your patch]

On Sat, Feb 17, 2001 at 03:13:45PM +0100, Manfred Spraul wrote:
> You must also update wake_process_synchroneous(), otherwise you can get
> lost wakeups with pipes.
> Something like
> > if (!(p->cpus_allowed & (1 << smp_processor_id()))
> > reschedule_idle(p);
> must be added after add_to_runqueue().


> Ingo Molnar did some testing with tux2, and under high load wakeups were
> lost without such a patch.

(s/tux2/tux/ I suppose)

Yepp - but tux is again not userspace...


Of course it doesn't work. We've performed a software upgrade.
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