lkml.org 
[lkml]   [2008]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] tracing/function-return-tracer: Add a barrier to ensure return stack index is incremented in memory

* Frederic Weisbecker <fweisbec@gmail.com> wrote:

> Impact: Fix possible race condition in ftrace function return tracer
>
> This fixes a possible race condition if index incrementation
> is not immediately flushed in memory.
>
> Thanks for Andi Kleen and Steven Rostedt for pointing out this issue
> and give me this solution.
>
> Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
> Cc: Steven Rostedt <rostedt@goodmis.org>

applied, thanks Frederic!

Ingo


\
 
 \ /
  Last update: 2008-11-16 07:45    [W:0.125 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site