From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail143.messagelabs.com (mail143.messagelabs.com [216.82.254.35]) by kanga.kvack.org (Postfix) with SMTP id 58FF88D0039 for ; Thu, 10 Feb 2011 08:19:53 -0500 (EST) Date: Thu, 10 Feb 2011 14:19:28 +0100 From: Andrea Arcangeli Subject: Re: [PATCH 1/5] pagewalk: only split huge pages when necessary Message-ID: <20110210131928.GV3347@random.random> References: <20110209195406.B9F23C9F@kernel> <20110209195407.2CE28EA0@kernel> <20110210111125.GC17873@csn.ul.ie> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110210111125.GC17873@csn.ul.ie> Sender: owner-linux-mm@kvack.org List-ID: To: Mel Gorman Cc: Dave Hansen , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Michael J Wolf On Thu, Feb 10, 2011 at 11:11:25AM +0000, Mel Gorman wrote: > Before we goto this retry, there is at a cond_resched(). Just to confirm, > we are depending on mmap_sem to prevent khugepaged promoting this back to > a hugepage, right? I don't see a problem with that but I want to be > sure. Correct, and we depend on that everywhere as wait_split_huge_page has to run without holding spinlocks. -- 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-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org