From: Bob Dunlop <bob.dunlop@xyzzy.org.uk>
To: Rusty Russell <rusty@rustcorp.com.au>
Cc: davem@redhat.com, kuznet@ms2.inr.ac.ru, sfr@canb.auug.org.au,
linux-kernel@vger.kernel.org
Subject: Re: Moving fasync_struct into struct file?
Date: Tue, 19 Feb 2002 10:40:16 +0000 [thread overview]
Message-ID: <20020219104016.A16542@xyzzy.org.uk> (raw)
In-Reply-To: <E16d4XU-0003VI-00@wagner.rustcorp.com.au>
In-Reply-To: <E16d4XU-0003VI-00@wagner.rustcorp.com.au>; from rusty@rustcorp.com.au on Tue, Feb 19, 2002 at 08:00:31AM +0000
Hi,
On Tue, Feb 19, Rusty Russell wrote:
> This means we need a move the "struct fasync_struct
> fasync_list" into struct file (up from all the subsystems which use
> it, eg. struct socket).
>
> See any problems with this?
At first I thought I would clean up the drivers a little moving common
code from the release routine. The release code is not called in the
example you gave because of the fork, correct ?
Then I realised what happens if several processes all request SIGIO
notification on different descriptors. The driver still needs to keep
a private list of all the processes registered with it. struct file
should at best contain a pointer back to the relevant structure in the
driver private list for cleanup ?
--
Bob Dunlop
next prev parent reply other threads:[~2002-02-19 10:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-19 7:18 Rusty Russell
2002-02-19 9:11 ` Alan Cox
2002-02-19 19:17 ` kuznet
2002-02-20 2:04 ` Alan Cox
2002-02-20 19:13 ` kuznet
2002-02-19 10:40 ` Bob Dunlop [this message]
2002-02-19 19:08 ` kuznet
[not found] <E16d4XU-0003VI-00@wagner.rustcorp.com.au.suse.lists.linux.kernel>
2002-02-19 9:27 ` Andi Kleen
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=20020219104016.A16542@xyzzy.org.uk \
--to=bob.dunlop@xyzzy.org.uk \
--cc=davem@redhat.com \
--cc=kuznet@ms2.inr.ac.ru \
--cc=linux-kernel@vger.kernel.org \
--cc=rusty@rustcorp.com.au \
--cc=sfr@canb.auug.org.au \
/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®