On Fri, May 25, 2001 at 04:53:47PM +1000, Keith Owens wrote: > The only way to avoid those problems is to move struct task out of the > kernel stack pages and to use a task gate for the stack fault and > double fault handlers, instead of a trap gate (all ix86 specific). > Those methods are expensive, at a minimum they require an extra page > for every process plus an extra stack per cpu. I have not even > considered the extra cost of using task gates for the interrupts nor > how this method would complicate methods for getting the current struct > task pointer. It is not worth the bother, we write better kernel code > than that. When you don't try to handle recursive stack/double faults it only requires a single static stack per CPU. With some tricks and minor races it is also possible to handle multiple ones. -Andi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Re: [CHECKER] large stack variables (>=1K... Andi Kleen
- Re: [CHECKER] large stack variables (>=1K) in... Brian Gerst
- Re: [CHECKER] large stack variables (>=1K... Andi Kleen
- Re: [CHECKER] large stack variables (>... Brian Gerst
- Re: [CHECKER] large stack variables (>=1K) in 2.4... Andrew Morton
- Re: [CHECKER] large stack variables (>=1K) in 2.4.4 an... Dawson Engler
- Re: [CHECKER] large stack variables (>=1K) in 2.4... Alexander Viro
- Re: [CHECKER] large stack variables (>=1K) in... Dawson Engler
- RE: [CHECKER] large stack variables (>=1K) in 2.4.4 an... Dunlap, Randy
- Re: [CHECKER] large stack variables (>=1K) in 2.4.4 an... Andreas Dilger
- Re: [CHECKER] large stack variables (>=1K) in 2.4... Andi Kleen
- Re: [CHECKER] large stack variables (>=1K) in... Keith Owens
- Re: [CHECKER] large stack variables (>=1K... Andi Kleen
- Re: [CHECKER] large stack variables (>=1K) in 2.4.4 an... Andi Kleen
- Re: [CHECKER] large stack variables (>=1K) in 2.4.4 an... Oliver Neukum
- Re: [CHECKER] large stack variables (>=1K) in 2.4.4 an... dean gaudet
- Re: [CHECKER] large stack variables (>=1K) in 2.4... Jonathan Lundell
- Re: [CHECKER] large stack variables (>=1K) in... dean gaudet
- Re: [CHECKER] large stack variables (>=1K) in 2.4.4 an... VDA