On Thu, 7 Dec 2000 21:09:47 +0000, [EMAIL PROTECTED] wrote: >In summary I'd say the lack of a task gate is at the very least an >oversight, if not a bug. > >If no one else wants to do it I'll see if I can code up the task gates for >the double-fault and NMI. If you overflow the kernel stack then you have already scribbled on the process state at the low end of the kernel stack pages. The process is definitely not recoverable but you might not even be able to recover the machine. Corrupt p_opptr and friends, thread_group or pidhash and other processes can be affected when they follow the chains. However being able to report the error is a good start, even if you cannot recover. If you add task gates, assign enough stack space for debuggers. kdb does a lot of work when NMI detects a hung cpu and needs stack space to do that work. A good option is to dedicate a set of process entries for per cpu task gates, say processes 2-NR_CPUS+1 are dedicated to task gates. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
- Re: Why is double_fault serviced ... Maciej W. Rozycki
- Re: Why is double_fault serviced by a trap gate? Petr Vandrovec
- Re: Why is double_fault serviced by a trap gate? Maciej W. Rozycki
- Re: Why is double_fault serviced by a trap gate? Petr Vandrovec
- Re: Why is double_fault serviced by a trap gate? Maciej W. Rozycki
- Re: Why is double_fault serviced by a trap gate? richardj_moore
- Re: Why is double_fault serviced by a trap gate? Richard B. Johnson
- Re: Why is double_fault serviced by a trap gat... Brian Gerst
- Re: Why is double_fault serviced by a trap... Richard B. Johnson
- Re: Why is double_fault serviced by a ... Maciej W. Rozycki
- Re: Why is double_fault serviced by a trap gate? Keith Owens
- Re: Why is double_fault serviced by a trap gate? Maciej W. Rozycki
- Re: Why is double_fault serviced by a trap gate? Petr Vandrovec
- Re: Why is double_fault serviced by a trap gate? richardj_moore
- Re: Why is double_fault serviced by a trap gate? richardj_moore
- Re: Why is double_fault serviced by a trap gate? richardj_moore
- Re: Why is double_fault serviced by a trap gate? Richard B. Johnson
- Re: Why is double_fault serviced by a trap gate? Mikulas Patocka
- Re: Why is double_fault serviced by a trap gate? richardj_moore
- Re: Why is double_fault serviced by a trap gate? richardj_moore