another possibility for a debugging mode for the kernel would be to hack gcc to emit something like the following in the prologue of every function (after the frame is allocated): movl %esp,%edx andl %edx,0x1fff cmpl %edx,sizeof(struct task)+512 jbe stack_overflow where stack_overflow is a no_return routine... the 512 is just some fudge factor where if we get that low on the stack we probably want to know about it (perhaps compile time tuneable). -dean - 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/
- [CHECKER] large stack variables (>=1K) in 2.4.4 and ... Dawson Engler
- Re: [CHECKER] large stack variables (>=1K) in 2... Anton Altaparmakov
- Re: [CHECKER] large stack variables (>=1K) in 2... Andreas Dilger
- Re: [CHECKER] large stack variables (>=1K) ... Andi Kleen
- Re: [CHECKER] large stack variables (>=... David Welch
- Re: [CHECKER] large stack variables (&... Keith Owens
- Re: [CHECKER] large stack variables (&... dean gaudet
- Re: [CHECKER] large stack variabl... Keith Owens
- Re: [CHECKER] large stack var... dean gaudet
- Re: [CHECKER] large stack variables (>=... Andi Kleen
- Re: [CHECKER] large stack variables (>=... Brian Gerst
- Re: [CHECKER] large stack variables (&... Andi Kleen
- Re: [CHECKER] large stack variabl... Brian Gerst
- Re: [CHECKER] large stack variables (>=1K) ... Andrew Morton
- Re: [CHECKER] large stack variables (>=1K) in 2... Dawson Engler
- Re: [CHECKER] large stack variables (>=1K) ... Alexander Viro
- Re: [CHECKER] large stack variables (>=... Dawson Engler