Re: [patch] sleep_on* disables interrupts before scheduling?

Linus Torvalds (torvalds@transmeta.com)
Mon, 1 Mar 1999 09:39:20 -0800 (PST)


On Mon, 1 Mar 1999, Ingo Molnar wrote:
>
> the attached patch fixes something that i think might be a minor bug. We
> disable interrupts before scheduling in sleep_on.

That was done on purpose at some point. There's really no reason not to do
this, as pretty much the first thing the scheduler will do is essentially
to disable them again.

Yes, it increases interrupt latency a bit, but I don't think it really
matters one way or the other.

Linus

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