From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Re: [Patch] shm cleanups References: From: Andrea Arcangeli Date: 05 Nov 1999 14:18:03 +0100 In-Reply-To: Christoph Rohland's message of "05 Nov 1999 13:35:36 +0100" 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: Christoph Rohland writes: > if (!(page_map = prepare_highmem_swapout(page_map))) > - goto check_table; > + goto failed; This fragment isn't correct. You may fail too early and so you may get a task killed due OOM even if you still have lots of regular pages queued in a shm segment. -- 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/