From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Sun, 14 May 2000 13:28:54 +0200 (CEST) From: Ingo Molnar Reply-To: mingo@elte.hu Subject: Re: pre8: where has the anti-hog code gone? 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: Linus Torvalds Cc: Rik van Riel , MM mailing list , linux-kernel@vger.rutgers.edu List-ID: > i believe the reason for gfp-NULL failures is the following: > do_try_to_free_pages() _does_ free pages, but we do the sync in the > writeback case _after_ releasing a particular page. This means other > processes can steal our freshly freed pages - rmqueue fails easily. So i'd > suggest the following workaround: > > if (try_to_free_pages() was succesful && final rmqueue() failed) > goto repeat; this seems to have done the trick here - no more NULL gfps. Any better generic suggestion than the explicit 'page transport' path between freeing and allocation points? Ingo -- 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/