From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754148AbYJPQZ7 (ORCPT ); Thu, 16 Oct 2008 12:25:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751843AbYJPQZv (ORCPT ); Thu, 16 Oct 2008 12:25:51 -0400 Received: from wf-out-1314.google.com ([209.85.200.173]:16156 "EHLO wf-out-1314.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751142AbYJPQZu (ORCPT ); Thu, 16 Oct 2008 12:25:50 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=C3isjdhcbEvEpRqv9vYfdj4paohHWrD8oRQf+tJCyh7V08ilObMWPyVwQ/zgX+3Yfh BfZLsMB+QDYtmsIHXGlLmZf8OVmf89Uc/493/oEJaORrj1ulfFi4vJEfrOyk77sMqFn6 mI567hQE2DJI+IZw48PU2bkGhj7S1E0rjU55c= Message-ID: <2f11576a0810160925u3fa9c206k58226eebfe096113@mail.gmail.com> Date: Fri, 17 Oct 2008 01:25:49 +0900 From: "KOSAKI Motohiro" To: "Mel Gorman" Subject: Re: [PATCH 1/2] Subject: [PATCH] Report the pagesize backing a VMA in /proc/pid/smaps Cc: "Andrew Morton" , "Alexey Dobriyan" , "Dave Hansen" , Linux-MM , LKML In-Reply-To: <1224172715-17667-2-git-send-email-mel@csn.ul.ie> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1224172715-17667-1-git-send-email-mel@csn.ul.ie> <1224172715-17667-2-git-send-email-mel@csn.ul.ie> X-Google-Sender-Auth: d5a548ba4aa46909 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi > It is useful to verify a hugepage-aware application is using the expected > pagesizes for its memory regions. This patch creates an entry called > KernelPageSize in /proc/pid/smaps that is the size of page used by the > kernel to back a VMA. The entry is not called PageSize as it is possible > the MMU uses a different size. This extension should not break any sensible > parser that skips lines containing unrecognised information. > > Signed-off-by: Mel Gorman ack.