Re: [PATCH] VM kswapd autotuning vs. -ac7

Jamie Lokier
2000-06-07T14:09:31Z

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