Re: [PATCH] misc. kernel preemption bits

Linus Torvalds (torvalds@transmeta.com)
Thu, 29 Aug 2002 11:38:24 -0700 (PDT)


On 29 Aug 2002, Robert Love wrote:
>
> - we have a debug check in preempt_schedule that, even
> on detecting a schedule with irqs disabled, still goes
> ahead and reschedules. We should return. (me)

I think we should return silently, and simply consider the case of
disabled local interrupts to be equivalent to having preemption disabled.

So I would remove even the warning.

Comments?

Linus

-
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/