Messages in this thread |  | | Date | Thu, 16 Nov 2000 19:30:46 -0200 (BRDT) | From | Rik van Riel <> | Subject | Re: shm swapping in 2.4 again |
| |
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/
|  |