From: Steven Rostedt Date: Tue, 23 Dec 2008 16:32:24 +0000 (-0500) Subject: ring-buffer: fix dangling commit race X-Git-Tag: v2.6.29-rc1~586^2^4~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a8ccf1d6f60e3e6ae63122e02378cd4d40dd4aac;p=pandora-kernel.git ring-buffer: fix dangling commit race Impact: fix stuck trace-buffers If an interrupt comes in during the rb_set_commit_to_write and pushes the tail page forward just at the right time, the commit updates will miss the adding of the interrupt data. This will cause the commit pointer to cease from moving forward. Thanks to Jiaying Zhang for finding this race. Reported-by: Jiaying Zhang Signed-off-by: Steven Rostedt Cc: Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed