Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 121175
b: refs/heads/master
c: eae849c
h: refs/heads/master
i:
  121173: 44cdaf1
  121171: 5f401bb
  121167: 0a4de6c
v: v3
  • Loading branch information
Frederic Weisbecker authored and Ingo Molnar committed Nov 23, 2008
1 parent ced2ac8 commit c87ab2e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 82f60f0bc854aada696f27d863c03bef91f1509d
refs/heads/master: eae849ca034c7f1015f0a6f17421ebc737f0a069
7 changes: 6 additions & 1 deletion trunk/kernel/trace/ftrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -1628,8 +1628,13 @@ void ftrace_retfunc_init_task(struct task_struct *t)

void ftrace_retfunc_exit_task(struct task_struct *t)
{
kfree(t->ret_stack);
struct ftrace_ret_stack *ret_stack = t->ret_stack;

t->ret_stack = NULL;
/* NULL must become visible to IRQs before we free it: */
barrier();

kfree(ret_stack);
}
#endif

Expand Down

0 comments on commit c87ab2e

Please sign in to comment.