[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] VM kswapd autotuning vs. -ac7
Stephen C. Tweedie wrote:
> The main reason SHM needs its own swap code is that normal anonymous
> pages are referred to only from ptes --- the ptes either point to
> the physical page containing the page, or to the swap entry. We
> cannot use that for SHM, because SysV SHM segments must be persistent
> even if there are no attachers, and hence no ptes to maintain the
> location of the pages.
It might be possible to create MMs without tasks specifically to map the
SHM segments.
-- Jamie
--
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/