From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wu Fengguang Subject: [PATCH 5/7] pagemap: document clarifications Date: Thu, 07 May 2009 09:21:22 +0800 Message-ID: <20090507014914.492422232@intel.com> References: <20090507012116.996644836@intel.com> Return-path: Received: from mail190.messagelabs.com (mail190.messagelabs.com [216.82.249.51]) by kanga.kvack.org (Postfix) with SMTP id 5F2486B0047 for ; Wed, 6 May 2009 21:49:35 -0400 (EDT) Content-Disposition: inline; filename=kpageflags-doc-fix.patch Sender: owner-linux-mm@kvack.org To: Andrew Morton Cc: LKML , Wu Fengguang , Matt Mackall , KOSAKI Motohiro , Andi Kleen , linux-mm@kvack.org List-Id: linux-mm.kvack.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< email@kvack.org