Re: [PATCH] make dequeue_task less confusing

From: Ingo Molnar
Date: Wed Mar 11 2009 - 12:50:43 EST



* David Newall <davidn@xxxxxxxxxxxxxxx> wrote:

> The dequeue_patch function in kernel/sched.c is complicated by
> including a sleep parameter. This parameter is always zero
> except in one instance. This patch clarifies the task of
> dequeue_patch by removing the sleep parameter and moving the
> code that handles non-zero sleep to that one place where it is
> needed.

> --- linux-2.6.27.19/kernel/sched.c 2009-02-21 09:09:34.000000000 +1030
> +++ linux-2.6.27.19/kernel/sched.c.dn 2009-03-12 01:01:48.000000000 +1030

The patch does not apply cleanly to the latest scheduler tree:

1 out of 5 hunks FAILED -- rejects in file kernel/sched.c

You can find it at:

http://people.redhat.com/mingo/tip.git/README

Thanks,

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/