From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760944AbZEHLOJ (ORCPT ); Fri, 8 May 2009 07:14:09 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759715AbZEHLMu (ORCPT ); Fri, 8 May 2009 07:12:50 -0400 Received: from mga03.intel.com ([143.182.124.21]:58922 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759438AbZEHLMt (ORCPT ); Fri, 8 May 2009 07:12:49 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.40,316,1239001200"; d="scan'208";a="140664190" Message-Id: <20090508111031.354583236@intel.com> References: <20090508105320.316173813@intel.com> User-Agent: quilt/0.46-1 Date: Fri, 08 May 2009 18:53:25 +0800 From: Wu Fengguang To: Andrew Morton Cc: LKML , Wu Fengguang Cc: Matt Mackall Cc: KOSAKI Motohiro CC: Andi Kleen , Subject: [PATCH 5/8] pagemap: document clarifications Content-Disposition: inline; filename=kpageflags-doc-fix.patch Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Some bit ranges were inclusive and some not. Fix them to be consistently inclusive. Signed-off-by: Wu Fengguang --- Documentation/vm/pagemap.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- linux.orig/Documentation/vm/pagemap.txt +++ linux/Documentation/vm/pagemap.txt @@ -12,9 +12,9 @@ There are three components to pagemap: value for each virtual page, containing the following data (from fs/proc/task_mmu.c, above pagemap_read): - * Bits 0-55 page frame number (PFN) if present + * Bits 0-54 page frame number (PFN) if present * Bits 0-4 swap type if swapped - * Bits 5-55 swap offset if swapped + * Bits 5-54 swap offset if swapped * Bits 55-60 page shift (page size = 1<