From: Steven Rostedt Date: Tue, 11 Nov 2008 17:47:44 +0000 (+0100) Subject: ring-buffer: add reader lock X-Git-Tag: v2.6.29-rc1~586^2~76^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f83c9d0fe42a7544b4d4ffcebb2e6716fcfd95c0;p=pandora-kernel.git ring-buffer: add reader lock Impact: serialize reader accesses to individual CPU ring buffers The code in the ring buffer expects only one reader at a time, but currently it puts that requirement on the caller. This is not strong enough, and this patch adds a "reader_lock" that serializes the access to the reader API of the ring buffer. Signed-off-by: Steven Rostedt Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed