lkml.org 
[lkml]   [2006]   [Jul]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] Convert idr's internal locking to _irqsave variant
From
Date
On Thu, 2006-07-13 at 14:03 -0700, Roland Dreier wrote:
> > I suspect it'll get really ugly. It's a container library which needs to
> > allocate memory when items are added, like the radix-tree. Either it needs
> > to assume GFP_ATOMIC, which is bad and can easily fail or it does weird
> > things like radix_tree_preload().
>
> Actually I don't think it has to be too bad. We could tweak the
> interface a little bit so that consumers do something like:
>
>

it does get harder if this is needed for your IB device to do
more work, so that your swap device on your IB can take more IO's
to free up ram..


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-07-13 23:09    [W:0.099 / U:0.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site