From: Jes Sorensen <jes@sgi.com>
To: Kristen Accardi <kristen.c.accardi@intel.com>
Cc: Alan Stern <stern@rowland.harvard.edu>, linux-kernel@vger.kernel.org
Subject: Re: [patch] add private data to notifier_block
Date: 23 Mar 2006 05:06:17 -0500 [thread overview]
Message-ID: <yq0u09ptqzq.fsf@jaguar.mkp.net> (raw)
In-Reply-To: <1143061212.8924.10.camel@whizzy>
>>>>> "Kristen" == Kristen Accardi <kristen.c.accardi@intel.com> writes:
Kristen> On Wed, 2006-03-22 at 14:04 -0500, Alan Stern wrote:
>> I still think this isn't really needed. The same effect can be
>> accomplished by embedding a notifier_block struct within a larger
>> structure that also contains the data pointer.
Kristen> I thought of this, but felt it would make for less easy to
Kristen> read code. But, that's just my personal style.
I'd have to vote for Alan's side here. Thats why we have the
containerof() stuff. It also means you can embed more than just a
pointer with the notifier block and it will generate more efficient
code when doing so.
Cheers,
Jes
next prev parent reply other threads:[~2006-03-23 10:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-21 19:42 Kristen Accardi
2006-03-22 18:00 ` Zach Brown
2006-03-22 19:04 ` Alan Stern
2006-03-22 21:00 ` Kristen Accardi
2006-03-23 10:06 ` Jes Sorensen [this message]
2006-03-23 18:01 ` Kristen Accardi
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=yq0u09ptqzq.fsf@jaguar.mkp.net \
--to=jes@sgi.com \
--cc=kristen.c.accardi@intel.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 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®