[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c62985530810010020u1f3f44e1l6b8fb2f31c35d215@mail.gmail.com>
Date: Wed, 1 Oct 2008 09:20:52 +0200
From: "Frédéric Weisbecker" <fweisbec@...il.com>
To: "Steven Rostedt" <rostedt@...dmis.org>
Cc: linux-kernel@...r.kernel.org, "Ingo Molnar" <mingo@...e.hu>,
"Thomas Gleixner" <tglx@...utronix.de>,
"Peter Zijlstra" <peterz@...radead.org>,
"Andrew Morton" <akpm@...ux-foundation.org>,
"Linus Torvalds" <torvalds@...ux-foundation.org>,
"Mathieu Desnoyers" <compudj@...stal.dyndns.org>,
"Pekka Paalanen" <pq@....fi>, "Martin Bligh" <mbligh@...gle.com>
Subject: Re: [PATCH 0/2] ring_buffer: updates for linux-tip
2008/10/1 Steven Rostedt <rostedt@...dmis.org>:
> The first patch is just a lockdep clean up of the ring buffer.
>
> The next patch is a new locking design. It is not lockless (yet) but
> the locking is a bit cleaner than the original. The basic idea is
> that the reader now has its own page to read from that is not in
> the ring buffer. When the reader (a consumer) finishes a page, it
> then grabs a lock to pull out a new page from the ring buffer and
> replace it with the one that it just finished reading.
Good idea! Sounds a real saner approach.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists