[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1234954488.24030.46.camel@penberg-laptop>
Date: Wed, 18 Feb 2009 12:54:48 +0200
From: Pekka Enberg <penberg@...helsinki.fi>
To: David Vrabel <david.vrabel@....com>
Cc: Johannes Weiner <hannes@...xchg.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Chas Williams <chas@....nrl.navy.mil>,
Evgeniy Polyakov <johnpol@....mipt.ru>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, Matt Mackall <mpm@...enic.com>,
Christoph Lameter <cl@...ux-foundation.org>,
Nick Piggin <npiggin@...e.de>
Subject: Re: [patch 1/7] slab: introduce kzfree()
On Wed, 2009-02-18 at 10:50 +0000, David Vrabel wrote:
> Johannes Weiner wrote:
> > +void kzfree(const void *p)
>
> Shouldn't this be void * since it writes to the memory?
No. kfree() writes to the memory as well to update freelists, poisoning
and such so kzfree() is not at all different from it.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists