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

Ingo Molnar (mingo@elte.hu)
Tue, 23 Jul 2002 10:49:11 +0200 (CEST)


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/