From: Henrik Rydberg <rydberg@euromail.se>
To: stefani@seibold.net
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 09:43:20 +0200 [thread overview]
Message-ID: <4BFF7418.8020607@euromail.se> (raw)
In-Reply-To: <1273654167-31067-1-git-send-email-stefani@seibold.net>
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?
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.
Henrik
next prev parent reply other threads:[~2010-05-28 7:44 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 ` Henrik Rydberg [this message]
2010-05-28 10:32 ` really generic, type save and type definable Stefani Seibold
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=4BFF7418.8020607@euromail.se \
--to=rydberg@euromail.se \
--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=stefani@seibold.net \
--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
all inboxes | Powered by JetHome®