From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752774Ab1LSSpJ (ORCPT ); Mon, 19 Dec 2011 13:45:09 -0500 Received: from one.firstfloor.org ([213.235.205.2]:37714 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751206Ab1LSSpG (ORCPT ); Mon, 19 Dec 2011 13:45:06 -0500 Date: Mon, 19 Dec 2011 19:45:06 +0100 From: Andi Kleen To: Naoya Horiguchi Cc: linux-mm@kvack.org, Andi Kleen , Wu Fengguang , Andrea Arcangeli , KOSAKI Motohiro , KAMEZAWA Hiroyuki , linux-kernel@vger.kernel.org Subject: Re: [RFC][PATCH 1/3] pagemap: avoid splitting thp when reading /proc/pid/pagemap Message-ID: <20111219184506.GB5637@one.firstfloor.org> References: <1324319919-31720-1-git-send-email-n-horiguchi@ah.jp.nec.com> <1324319919-31720-2-git-send-email-n-horiguchi@ah.jp.nec.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1324319919-31720-2-git-send-email-n-horiguchi@ah.jp.nec.com> User-Agent: Mutt/1.4.2.2i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 19, 2011 at 01:38:37PM -0500, Naoya Horiguchi wrote: > Thp split is not necessary if we explicitly check whether pmds are > mapping thps or not. This patch introduces the check and the code > to generate pagemap entries for pmds mapping thps, which results in > less performance impact of pagemap on thp. Looks good. Reviewed-by: Andi Kleen -Andi