Re: [PATCH 2/5] mm improvements

Rik van Riel
2004-02-04T15:27:11Z

On Wed, 4 Feb 2004, Andrew Morton wrote:
> Nick Piggin <piggin@cyberone.com.au> wrote:
> > > 2/5: vm-dont-rotate-active-list.patch
> > > Nikita's patch to keep more page ordering info in the active list.
> > > Also should improve system time due to less useless scanning
> > > Helps swapping loads significantly.
>
> It bugs me that this improvement is also applicable to 2.4. if it makes
> the same improvement there, we're still behind.

I suspect 2.4 won't see the gains from this, since active/inactive
list location is hardly relevant for mapped pages there, due to the
page table scanning algorithm.

--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan