lkml.org 
[lkml]   [2009]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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/


\
 
 \ /
  Last update: 2009-01-14 10:55    [W:0.048 / U:0.580 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site