Re: [PATCH] mm: Implement Swap Prefetching v22

From: Con Kolivas
Date: Thu Feb 09 2006 - 20:02:40 EST


On Friday 10 February 2006 01:51, Con Kolivas wrote:
> On Friday 10 February 2006 00:29, Nick Piggin wrote:
> > busy Con Kolivas wrote:
> > > + struct radix_tree_root swap_tree; /* Lookup tree of pages */
> >
> > Umm... what is swap_tree for, exactly?
>
> To avoid ...
>
> /me looks around
>
> It's because...
>
> /me scratches head
>
> wtf..
>
> /me comes up with the answer
>
> legacy that must die

Ah now I remember. To not iterate over the whole list when removing entries
from the swapped list.

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