From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 5 Nov 1999 17:21:05 +0100 (CET) From: Andrea Arcangeli Subject: Re: [Patch] shm cleanups In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org Return-Path: To: Christoph Rohland Cc: Ingo Molnar , Rik van Riel , MM mailing list , woodman@missioncriticallinux.com, Linus Torvalds List-ID: 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. Andrea -- 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/