From: "Robert P. J. Day" <rpjday@mindspring.com>
To: kernel-janitors@vger.kernel.org
Subject: Re: [KJ] memory zeroing macros
Date: Sun, 11 Feb 2007 09:32:11 +0000 [thread overview]
Message-ID: <Pine.LNX.4.64.0702110430060.8580@CPE00045a9c397f-CM001225dbafb6> (raw)
In-Reply-To: <Pine.LNX.4.64.0702101731480.6852@CPE00045a9c397f-CM001225dbafb6>
On Sun, 11 Feb 2007, Alexey Dobriyan wrote:
> On Sun, Feb 11, 2007 at 03:55:26AM -0500, Robert P. J. Day wrote:
> > On Sun, 11 Feb 2007, Alexey Dobriyan wrote:
> >
> > > On Sat, Feb 10, 2007 at 05:32:10PM -0500, Robert P. J. Day wrote:
> > > >
> > > > i've put some ideas in the wiki:
> > > >
> > > > http://fsdev.net/wiki/index.php?title=Memory_zeroing_macros
> > >
> > > Sheesh... No way in hell such macroses are going to be accepted.
> >
> > i didn't think so, but at the very least, we can probably
> > standardize on memzero(), yes?
>
> No! If anything we can put bzero() back but adding second idiom for
> clearing memory may be not worth it.
sure, i have nothing against bzero(). but, obviously, the basic
question, is it worth having a shortcut for zeroing a chunk of memory
rather than calling memset() all the time? enough developers seem to
think so given the number of redefinitions of "memzero()".
or maybe this really is just not worth the effort. who knows?
rday
--
====================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA
http://fsdev.net/wiki/index.php?title=Main_Page
====================================
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors
next prev parent reply other threads:[~2007-02-11 9:32 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-10 22:32 [KJ] memory zeroing macros Robert P. J. Day
2007-02-10 23:42 ` Alexey Dobriyan
2007-02-11 8:55 ` Robert P. J. Day
2007-02-11 9:24 ` Alexey Dobriyan
2007-02-11 9:32 ` Robert P. J. Day [this message]
2007-02-11 20:34 ` burns.ethan
2007-02-11 21:33 ` Greg KH
2007-02-12 1:51 ` Srdjan Todorovic
2007-02-12 4:43 ` Greg KH
2007-02-12 5:28 ` Richard Knutsson
2007-02-12 8:59 ` Robert P. J. Day
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=Pine.LNX.4.64.0702110430060.8580@CPE00045a9c397f-CM001225dbafb6 \
--to=rpjday@mindspring.com \
--cc=kernel-janitors@vger.kernel.org \
/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.