[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <496DB5F9.8010001@s5r6.in-berlin.de>
Date: Wed, 14 Jan 2009 10:52:57 +0100
From: Stefan Richter <stefanr@...6.in-berlin.de>
To: Andrew Morton <akpm@...ux-foundation.org>
CC: Pekka Enberg <penberg@...helsinki.fi>,
Manfred Spraul <manfred@...orfullife.com>, krh@...hat.com,
dcm@....org, Nadia.Derbey@...l.net,
linux1394-devel@...ts.sourceforge.net,
linux-kernel@...r.kernel.org, paulmck@...ibm.com, stable@...nel.org
Subject: Re: [PATCH] lib/idr.c: Zero memory properly in idr_remove_all
I wrote:
> Your fix only clears idr_layers which an idr_get_new*() pulls out of the
> idr_layer_cache, but not any one which it pulls out of the idr's own
> free list.
>
> Hmm, OK. Seems to be harmless as long as idr users don't start to add
> new entries to an idr after they did idr_remove_all()
...on this very same idr instance.
--
Stefan Richter
-=====-==--= ---= -===-
http://arcgraph.de/sr/
--
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