From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail144.messagelabs.com (mail144.messagelabs.com [216.82.254.51]) by kanga.kvack.org (Postfix) with ESMTP id 134208D0039 for ; Thu, 10 Feb 2011 06:18:03 -0500 (EST) Date: Thu, 10 Feb 2011 11:17:36 +0000 From: Mel Gorman Subject: Re: [PATCH 4/5] teach smaps_pte_range() about THP pmds Message-ID: <20110210111736.GF17873@csn.ul.ie> References: <20110209195406.B9F23C9F@kernel> <20110209195411.816D55A7@kernel> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <20110209195411.816D55A7@kernel> Sender: owner-linux-mm@kvack.org List-ID: To: Dave Hansen Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, Michael J Wolf , Andrea Arcangeli , Johannes Weiner , David Rientjes On Wed, Feb 09, 2011 at 11:54:11AM -0800, Dave Hansen wrote: > > This adds code to explicitly detect and handle > pmd_trans_huge() pmds. It then passes HPAGE_SIZE units > in to the smap_pte_entry() function instead of PAGE_SIZE. > > This means that using /proc/$pid/smaps now will no longer > cause THPs to be broken down in to small pages. > > Signed-off-by: Dave Hansen > Acked-by: Johannes Weiner > Acked-by: David Rientjes Acked-by: Mel Gorman -- Mel Gorman SUSE Labs -- 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