Re: shm swapping in 2.4 again

From: Rik van Riel (riel@conectiva.com.br)
Date: Thu Nov 16 2000 - 16:30:46 EST


On 16 Nov 2000, Christoph Rohland wrote:

> Oh, I missed one point: we need to handle the swapout of
> nonattached pages: in shm you can detach the last user and the
> segment with content is still around. So we have to scan the shm
> objects themselves also. Should We could do this in the same
> loop as we scan the mm's?

Sounds like a good idea. If we scan the nonattached segments
just as agressively as we scan the mm's, things should be
balanced just fine.

> Also we have to make sure to derefence the swap entry if the
> last reference is in the shm segmant table .

Why is this?

regards,

Rik

--
"What you're running that piece of shit Gnome?!?!"
       -- Miguel de Icaza, UKUUG 2000

http://www.conectiva.com/ http://www.surriel.com/

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



This archive was generated by hypermail 2b29 : Thu Nov 23 2000 - 21:00:11 EST