summaryrefslogtreecommitdiff
path: root/kernel/delayacct.c
diff options
context:
space:
mode:
authorJason Wessel <jason.wessel@windriver.com>2009-12-11 14:43:17 (GMT)
committerJason Wessel <jason.wessel@windriver.com>2009-12-11 14:43:17 (GMT)
commit028e7b175970be8fca58bfd7d61cc375babe40b7 (patch)
treec94d3acdc460836a9ef2d06f3e80f83d5f33f157 /kernel/delayacct.c
parentcf6f196d112a6f6757b1ca3cce0b576f7abee479 (diff)
downloadlinux-fsl-qoriq-028e7b175970be8fca58bfd7d61cc375babe40b7.tar.xz
kgdb: allow for cpu switch when single stepping
The kgdb core should not assume that a single step operation of a kernel thread will complete on the same CPU. The single step flag is set at the "thread" level and it is possible in a multi cpu system that a kernel thread can get scheduled on another cpu the next time it is run. As a further safety net in case a slave cpu is hung, the debug master cpu will try 100 times before giving up and assuming control of the slave cpus is no longer possible. It is more useful to be able to get some information out of kgdb instead of spinning forever. Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Diffstat (limited to 'kernel/delayacct.c')
0 files changed, 0 insertions, 0 deletions