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

Re: [Patch] shm cleanups



On 5 Nov 1999, Christoph Rohland wrote:

>Yes I know it is questionable, but if prepare_highmem_swapout fails we
>are in the highmem area and probably most of the rest of shm is also
>there. So we only consume a lot of CPU if going on and calling

If prepare_highmem_swapout fails maybe all the regular pages are allocated
in the rest of the shm segment and to free them and do progresses you
should continue to properly shrink the VM.

>prepare_highmem_swapout again and again..

That will happen in the patological unlikely to happen case so the
performance of such path is not an issue.

Andrea

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://humbolt.geo.uu.nl/Linux-MM/