[sched patch] more sync wakeups, 2.6.5-rc3-mm1

From: Ingo Molnar
Date: Tue Mar 30 2004 - 14:02:11 EST



the attached patch extends sync wakeups to the process sys_exit() path
too: the chldwait wakeup can be done sync, since we know that the
process is going to exit (and thus deschedule).

the most visible effect of this change is strace's behavior on SMP
systems: it now stays on a single CPU, together with the traced child.
(previously it would run in parallel to the child, bouncing around
madly.)

compiled & tested.

Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/