lkml.org 
[lkml]   [2001]   [Sep]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.4.10pre11 vm rewrite fixes for mainline inclusion and testing


On Tue, 18 Sep 2001, Andrea Arcangeli wrote:

(testing now)

> Linus, can you merge this patch in the next pre-patch? Marcelo and
> Andrew, can you test if this fixes your problems properly or if we need
> further work on it for the oom problem?
>
> Only in 2.4.10pre11aa1: 00_vm-aa-2
>
> description of the patch:
>
> - fixed a race condition in rw_swap_page path: if we need
> to wait synchronously on the page we must hold a reference
> on the page or it could be freed by the VM under us
> after it's been unlocked at I/O completion time (see
> the page_io.c changes)
> - don't hide anything (see the new parameter "this_max_scan" to
> shrink_cache)
> - don't skip work on the ptes but just don't stop until we
> unmapped the "interesting" pages from the right classzone

I really think we should reintroduce the idea of "enough" inactive/free
pages, Andrea.

This way we avoid starving the page reclaiming work on only one zone when
we have a small zone under extreme pressure, while at the same time we
avoid breaking writeout clustering and the "fairness" of pte scanning.

Do you remember the "zone_inactive_plenty()/zone_free_plenty()" stuff
which we had back into pre10 ?

-
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: 2005-03-22 13:03    [W:0.072 / U:5.392 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site