From: Stefani Seibold <stefani@seibold.net>
To: Henrik Rydberg <rydberg@euromail.se>
Cc: linux-kernel@vger.kernel.org, akpm@linux-foundation.org,
andi@firstfloor.org, gregkh@suse.de, alan@lxorguk.ukuu.org.uk,
tytso@mit.edu, iws@ovro.caltech.edu
Subject: Re: really generic, type save and type definable.
Date: Fri, 28 May 2010 12:32:27 +0200 [thread overview]
Message-ID: <1275042747.23895.5.camel@wall-e.seibold.net> (raw)
In-Reply-To: <4BFF7418.8020607@euromail.se>
Am Freitag, den 28.05.2010, 09:43 +0200 schrieb Henrik Rydberg:
> stefani@seibold.net wrote:
> [...]
> > The main goal was to provide an API which is very intuitive, save and easy
> > to use. So linux will get now a powerful fifo API which provides all what
> > a developer needs. This will save in the future a lot of kernel space, since
> > there is no need to write an own implementation. Most of the device driver
> > developers need a fifo, and also deep kernel development will gain benefit
> > from this API.
>
> The meaning of the term "multiple readers" referred to in the header is somewhat
> ambiguous. It could in principle refer to concurrent reading of the same
> position, or concurrent reading from different positions. Imaginably, those
> cases also have different locking behavior.
>
> What happens if two fifos are initialized with the same memory buffer?
>
That would be a big nonsense! Tell me a real use case for such kind of
request...
> What about one-to-many and many-to-one cases? The input system and the logging
> facilities could serve as examples where such buffers would be useful.
>
There is no ne-to-many and many-to-one cases since the API will handle
this. You can not read more data then fit in the fifo, also u can not
write more data the fifo can handle.
Stefani
next prev parent reply other threads:[~2010-05-28 10:32 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-12 8:49 stefani
2010-05-12 8:49 ` [PATCH 1/4] fix kfifo miss use of nozami.c stefani
2010-05-12 8:49 ` [PATCH 2/4] add the new generic kfifo API stefani
2010-05-29 18:30 ` Ira W. Snyder
2010-05-29 18:48 ` Stefani Seibold
2010-05-29 19:09 ` Ira W. Snyder
2010-05-12 8:49 ` [PATCH 3/4] replace the old non generic API stefani
2010-05-12 8:49 ` [PATCH 4/4] add example files to the kernel sample directory stefani
2010-05-14 20:46 ` Andrew Morton
2010-05-15 13:33 ` Stefani Seibold
2010-05-15 13:39 ` Andrew Morton
2010-05-28 7:43 ` really generic, type save and type definable Henrik Rydberg
2010-05-28 10:32 ` Stefani Seibold [this message]
2010-05-28 11:11 ` Henrik Rydberg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1275042747.23895.5.camel@wall-e.seibold.net \
--to=stefani@seibold.net \
--cc=akpm@linux-foundation.org \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=andi@firstfloor.org \
--cc=gregkh@suse.de \
--cc=iws@ovro.caltech.edu \
--cc=linux-kernel@vger.kernel.org \
--cc=rydberg@euromail.se \
--cc=tytso@mit.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome