From: Tejun Heo <htejun@gmail.com>
To: Cornelia Huck <cornelia.huck@de.ibm.com>
Cc: Alan Stern <stern@rowland.harvard.edu>,
Kernel development list <linux-kernel@vger.kernel.org>
Subject: Re: Sysfs and suicidal attributes
Date: Tue, 10 Jul 2007 17:49:37 +0900 [thread overview]
Message-ID: <46934821.5020409@gmail.com> (raw)
In-Reply-To: <20070710102857.15a57337@gondolin.boeblingen.de.ibm.com>
Cornelia Huck wrote:
>> I like it because it shifts complexity from the drivers into driver
>> core. IOW, the driver model is kinder to drivers that way - the driver
>> writer doesn't have to care whether something is suicidal or not - and I
>> think that's the way we should be headed although we're not good at it yet.
>
> It might be that I misunderstand the idea, but doesn't the device
> driver writer need to consider whether the attribute is suicidal as
> well? (If it is the method that needs to call the sysfs core.)
What I was trying to say was that suicide and murder could be done the
same way from the driver's POV or am I misunderstanding?
> A general immediate disconnect of the buffers (which will be handled in
> a second pass) would be great, but doesn't sound easy.
I haven't thought too hard about actual implementation but it's pretty
specific case. If doing things in generic manner is difficult, there
are plenty of shortcuts to choose from, I think.
--
tejun
next prev parent reply other threads:[~2007-07-10 8:49 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-08 14:31 Sysfs and suicidal attributes Alan Stern
2007-07-09 15:26 ` Cornelia Huck
2007-07-09 22:28 ` Alan Stern
2007-07-10 5:09 ` Tejun Heo
2007-07-10 8:28 ` Cornelia Huck
2007-07-10 8:49 ` Tejun Heo [this message]
2007-07-10 9:04 ` Cornelia Huck
2007-07-10 9:13 ` Tejun Heo
2007-07-10 10:50 ` Cornelia Huck
2007-07-10 14:42 ` Alan Stern
2007-07-10 14:41 ` Alan Stern
2007-07-10 15:11 ` Tejun Heo
2007-07-10 17:18 ` Alan Stern
2007-07-10 18:08 ` Tejun Heo
2007-07-10 19:31 ` Alan Stern
2007-07-11 5:04 ` Tejun Heo
2007-07-11 12:36 ` Cornelia Huck
2007-07-11 15:04 ` Alan Stern
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=46934821.5020409@gmail.com \
--to=htejun@gmail.com \
--cc=cornelia.huck@de.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=stern@rowland.harvard.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.