From: Steven Rostedt Date: Fri, 11 Dec 2009 03:54:27 +0000 (-0500) Subject: ring-buffer: Use sync sched protection on ring buffer resizing X-Git-Tag: v2.6.33-rc1~52^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=184210154b9aa570099183f6c062ac4eb11190b7;p=pandora-kernel.git ring-buffer: Use sync sched protection on ring buffer resizing There was a comment in the ring buffer code that says the calling layers should prevent tracing or reading of the ring buffer while resizing. I have discovered that the tracers do not honor this arrangement. This patch moves the disabling and synchronizing the ring buffer to a higher layer during resizing. This guarantees that no writes are occurring while the resize takes place. Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed