Messages in this thread |  | | From | Keith Owens <> | Subject | Re: Calling current() from interrupt context | Date | Tue, 10 Oct 2000 09:04:30 +1100 |
| |
On 9 Oct 2000 11:08:36 -0700, torvalds@transmeta.com (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 majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |