Re: [PATCH] RML pre-emptive 2.4.19-ac2 with O(1)

From: Ingo Molnar (mingo@elte.hu)
Date: Tue Jul 23 2002 - 03:49:11 EST


On Mon, 22 Jul 2002, anton wilson wrote:

> I tried to change the current RML preemptive patch for 2.4.19-rc2 to
> work with the O(1) scheduler patch applied. The only changes I made were
> in sched.c - Not sure if this is a correct change:

looks good at first sight.

this one:

> +
> + /* Set the preempt count _outside_ the spinlocks! */
> + idle->preempt_count = (idle->lock_depth >= 0);

needs to be #if CONFIG_PREEMPT.

        Ingo

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



This archive was generated by hypermail 2b29 : Tue Jul 23 2002 - 22:00:42 EST