From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Re: [PATCH] VM kswapd autotuning vs. -ac7 References: From: Christoph Rohland Date: 07 Jun 2000 16:29:15 +0200 In-Reply-To: Rik van Riel's message of "Wed, 7 Jun 2000 10:39:13 -0300 (BRST)" Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-linux-mm@kvack.org Return-Path: To: Rik van Riel Cc: linux-mm@kvack.org List-ID: Rik van Riel writes: > Basically we need 2 things from the shm code, then I'll > be able to adapt shrink_mmap with a few minutes of work ;) > > 1) shm pages should be marked as such so we can recognise them O.K. this is trivial. > 2) we need to be able to swap out shm pages (maybe just > call a page->mapping->swapout() function?) by knowing just > the page This is not that easy. I need a backreference to the shm segment and the index into it to be able to note the new pte entry. Do you know where we could put these? Greetings Christoph -- 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/