[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: reduce shrink_mmap rate of failure (initial attempt)



>>>>> "roger" == Roger Larsson <roger.larsson@norran.net> writes:

Hi

roger> This is a trivial first attempt to reduce shrink_mmap failures
roger> (leading to swap)

roger> It is against 2.4.0-test1-ac7-riel3 but that is almost what
roger> we have currently - and it is trivial to apply with an editor.

roger> It might be possible to improve this further - but it is a start.

That patch hangs my machine here when I run mmap002.  The machine is
in shrink_mmap.  It hangs trying to get the pagmap_lru_lock.

I think that the idea is good, but it doesn't work here :(.

Later, Juan.

-- 
In theory, practice and theory are the same, but in practice they 
are different -- Larry McVoy
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/