From: Vaibhav Nagarnaik Date: Fri, 4 May 2012 01:59:51 +0000 (-0700) Subject: ring-buffer: Make addition of pages in ring buffer atomic X-Git-Tag: v3.5-rc1~141^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5040b4b7bcc26a311c799d46f67174bcb20d05dd;p=pandora-kernel.git ring-buffer: Make addition of pages in ring buffer atomic This patch adds the capability to add new pages to a ring buffer atomically while write operations are going on. This makes it possible to expand the ring buffer size without reinitializing the ring buffer. The new pages are attached between the head page and its previous page. Link: http://lkml.kernel.org/r/1336096792-25373-2-git-send-email-vnagarnaik@google.com Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Laurent Chavey Cc: Justin Teravest Cc: David Sharp Signed-off-by: Vaibhav Nagarnaik Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed