summaryrefslogtreecommitdiffstats
path: root/arch/x86/boot/a20.c
diff options
context:
space:
mode:
authorSteven Rostedt2009-06-02 22:51:55 +0200
committerSteven Rostedt2009-06-02 22:51:55 +0200
commit84047e360af0394ac5861d433f26bbcf30f77dd1 (patch)
tree55848e2ca4856a64b348a57ecca495c2f065aa0f /arch/x86/boot/a20.c
parentfunction-graph: move initialization of new tasks up in fork (diff)
downloadkernel-qcow2-linux-84047e360af0394ac5861d433f26bbcf30f77dd1.tar.gz
kernel-qcow2-linux-84047e360af0394ac5861d433f26bbcf30f77dd1.tar.xz
kernel-qcow2-linux-84047e360af0394ac5861d433f26bbcf30f77dd1.zip
function-graph: always initialize task ret_stack
On creating a new task while running the function graph tracer, if we fail to allocate the ret_stack, and then fail the fork, the code will free the parent ret_stack. This is because the child duplicated the parent and currently points to the parent's ret_stack. This patch always initializes the task's ret_stack to NULL. [ Impact: prevent crash of parent on low memory during fork ] Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'arch/x86/boot/a20.c')
0 files changed, 0 insertions, 0 deletions