summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/entry_32.S
diff options
context:
space:
mode:
authorjia zhang <jia.zhang2008@gmail.com>2008-11-23 09:51:41 +0800
committerIngo Molnar <mingo@elte.hu>2008-11-23 08:57:42 +0100
commit3aeb95d5b7839708a8d8e11aa274ee4d0d4042cc (patch)
treed9bdb97ddbcb914f019cd6db2a5f035f34a3fb4c /arch/x86/kernel/entry_32.S
parentca9eed76133c00e7f4b1eeb4c1a6cb800cd2654c (diff)
x86_64: fix the check in stack_overflow_check
Impact: make stack overflow debug check and printout narrower stack_overflow_check() should consider the stack usage of pt_regs, and thus it could warn us in advance. Additionally, it looks better for the warning time to start at INITIAL_JIFFIES. Assuming that rsp gets close to the check point before interrupt arrives: when interrupt really happens, thread_info will be partly overrode. Signed-off-by: jia zhang <jia.zhang2008@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/entry_32.S')
0 files changed, 0 insertions, 0 deletions