From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Re: [Patch] shm cleanups References: Mime-Version: 1.0 (generated by tm-edit 7.108) Content-Type: text/plain; charset=US-ASCII From: Christoph Rohland Date: 05 Nov 1999 17:28:19 +0100 In-Reply-To: Andrea Arcangeli's message of "Fri, 5 Nov 1999 17:21:05 +0100 (CET)" Message-ID: Sender: owner-linux-mm@kvack.org Return-Path: To: Andrea Arcangeli Cc: Christoph Rohland , Ingo Molnar , Rik van Riel , MM mailing list , woodman@missioncriticallinux.com, Linus Torvalds List-ID: Andrea Arcangeli writes: > On 5 Nov 1999, Christoph Rohland wrote: > > >Yes I know it is questionable, but if prepare_highmem_swapout fails we > >are in the highmem area and probably most of the rest of shm is also > >there. So we only consume a lot of CPU if going on and calling > > If prepare_highmem_swapout fails maybe all the regular pages are allocated > in the rest of the shm segment and to free them and do progresses you > should continue to properly shrink the VM. > > >prepare_highmem_swapout again and again.. > > That will happen in the patological unlikely to happen case so the > performance of such path is not an issue. So we only need the first part of the patch. 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://humbolt.geo.uu.nl/Linux-MM/