summaryrefslogtreecommitdiffstats
path: root/block/blk-core.c
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2010-11-10 12:56:12 +0100
committerSteven Rostedt <rostedt@goodmis.org>2010-11-12 21:20:08 -0500
commit91e86e560d0b3ce4c5fc64fd2bbb99f856a30a4e (patch)
tree26d7afb8373474a4d44d0eba4130499676c35bc7 /block/blk-core.c
parentb5908548537ccd3ada258ca5348df7ffc93e5a06 (diff)
downloadlinux-91e86e560d0b3ce4c5fc64fd2bbb99f856a30a4e.tar.gz
linux-91e86e560d0b3ce4c5fc64fd2bbb99f856a30a4e.tar.bz2
linux-91e86e560d0b3ce4c5fc64fd2bbb99f856a30a4e.zip
tracing: Fix recursive user stack trace
The user stack trace can fault when examining the trace. Which would call the do_page_fault handler, which would trace again, which would do the user stack trace, which would fault and call do_page_fault again ... Thus this is causing a recursive bug. We need to have a recursion detector here. [ Resubmitted by Jiri Olsa ] [ Eric Dumazet recommended using __this_cpu_* instead of __get_cpu_* ] Cc: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: Jiri Olsa <jolsa@redhat.com> LKML-Reference: <1289390172-9730-3-git-send-email-jolsa@redhat.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'block/blk-core.c')
0 files changed, 0 insertions, 0 deletions