Re: Calling current() from interrupt context

From: Keith Owens (
Date: Mon Oct 09 2000 - 17:04:30 EST

On 9 Oct 2000 11:08:36 -0700, (Linus Torvalds) wrote:
>Note that there are alternative approaches. For example, you could make
>the interrupt stack be in the same multi-page as the regular stack, and
>switch them both at task-switch time - just allocate four pages instead
>of two, and use "current = esp & ~16383" instead or something like that.

Ouch. Too many places in the source have hard coded 8191 or 8192.
Would you take a patch to replace all those hard coded numbers with
#defines or is that best left for 2.4.1?

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sun Oct 15 2000 - 21:00:13 EST