Re: 2.2.16 vm fixes

From: Andrea Arcangeli (andrea@suse.de)
Date: Thu Jun 15 2000 - 19:29:54 EST


On Thu, 15 Jun 2000, Marcelo Tosatti wrote:

>I saw lots of "do_try_to_free_pages failed for process XXX" on syslog.

It's probably the bug that I pointed out relative to the
do_try_to_free_pages changes (the bug is very subtle, at first I agreed
with such changes and it took some time before I seen the underlying
problem). Precisely this were the description of the bug in my earlier
email:

---------------------------------------------------------------------
I found that the changes in do_try_to_free_pages are buggy because one
task could make the cache freeable, the other task could free all the
cache that now is been unmapped by the first task. The first task that
made the cache freeable will be killed because when it tries to free the
cache it won't succeed (even if the other task just freed all the cache
and it made enough memory free for both processes). That happened here and
---------------------------------------------------------------------

I suggest to try the patch I posted to the list (you can find it also
here:

        ftp://ftp.*.kernel.org/pub/linux/kernel/people/andrea/patches/v2.2/2.2.16/mm-fix-2

). The patch should also avoid mmap002 to fail (as it's the first 2.2.x VM
that attempts to do some write throttling).

>Ah, one more thing, could you please send me your other VM changes against
>2.2.16 ?

They are all included in the patch at the above URL ;)

Andrea

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



This archive was generated by hypermail 2b29 : Thu Jun 15 2000 - 21:00:36 EST