From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Re: [PATCH] Fix races in 2.4.2-ac22 SysV shared memory Date: Fri, 23 Mar 2001 22:35:21 +0000 (GMT) In-Reply-To: from "Linus Torvalds" at Mar 23, 2001 02:27:12 PM MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: From: Alan Cox Sender: owner-linux-mm@kvack.org Return-Path: To: Linus Torvalds Cc: Alan Cox , "Stephen C. Tweedie" , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Ben LaHaise , Christoph Rohland List-ID: > If you don't want to sleep, you need to use one of the wrappers for > "__find_page_nolock()". Something like "find_get_page()", which only > "gets" the page. * a rather lightweight function, finding and getting a reference to a * hashed page atomically, waiting for it if it's locked. __find_get_page has I think a misleading comment ? > The naming actually does make sense in this area. Yep -- 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/