[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1282725607.2708.96.camel@yhuang-dev>
Date: Wed, 25 Aug 2010 16:40:07 +0800
From: Huang Ying <ying.huang@...el.com>
To: Stefani Seibold <stefani@...bold.net>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Andi Kleen <andi@...stfloor.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [RFC -v2] kfifo writer side lock-less support
On Tue, 2010-08-24 at 17:04 +0800, Stefani Seibold wrote:
> > > The regular use case of a fifo is that there is one write and one
> > > reader. In this case, the current implementation of the kfifo structure
> > > is lock less.
> > >
> > > So i you need this, than it would be better to use the ring buffer.
> >
>
> But you waste a clean interface designed together with the community.
>
> > I really need multiple-writers and one reader in APEI GHES support, and
> > I need lock-less in writer side (because the buffer need to be written
> > in NMI handler). So I can not use the original kfifo implementation.
> >
>
> I believe you that you need it, but the question is: Is there more users
> who need it. And i am sure, there are no more users or very very few.
>
> So for the protocol a big NAK!
We really need the lock-less writer side support. So we try to do that
by extending kfifo. But it is clear that you don't like our design and
implementation. Can you help us to design a better protocol for it?
Thanks,
Huang Ying
--
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