[lkml]   [2001]   [Sep]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
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
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:03    [W:0.062 / U:0.368 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site