From: Kristen Accardi <kristen.c.accardi@intel.com>
To: Jes Sorensen <jes@sgi.com>
Cc: Alan Stern <stern@rowland.harvard.edu>, linux-kernel@vger.kernel.org
Subject: Re: [patch] add private data to notifier_block
Date: Thu, 23 Mar 2006 10:01:29 -0800 [thread overview]
Message-ID: <1143136889.16072.1.camel@whizzy> (raw)
In-Reply-To: <yq0u09ptqzq.fsf@jaguar.mkp.net>
On Thu, 2006-03-23 at 05:06 -0500, Jes Sorensen wrote:
> >>>>> "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
Ok, I bow to peer pressure and will do this your way. :) You can ignore
this patch.
Thanks,
Kristen
prev parent reply other threads:[~2006-03-23 17:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-21 19:42 [patch] add private data to notifier_block 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
2006-03-23 18:01 ` Kristen Accardi [this message]
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=1143136889.16072.1.camel@whizzy \
--to=kristen.c.accardi@intel.com \
--cc=jes@sgi.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