Re: shm swapping in 2.4 again

From: Christoph Rohland (cr@sap.com)
Date: Fri Nov 17 2000 - 03:08:02 EST


Hi Rik,

On Thu, 16 Nov 2000, Rik van Riel wrote:
> On 16 Nov 2000, Christoph Rohland wrote:
>> Also we have to make sure to derefence the swap entry if the
>> last reference is in the shm segmant table .
>
> Why is this?

Because you never get a page fault on the shm segmants. So you never
will exchange a swap entry with a real page in these segments
automatically.

Actually I think the best approach would be to replace the entry on
the first swapin.

Greetings
                Christoph

-
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:12 EST