From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wu Fengguang Subject: [PATCH 5/8] pagemap: document clarifications Date: Fri, 08 May 2009 18:53:25 +0800 Message-ID: <20090508111031.354583236@intel.com> References: <20090508105320.316173813@intel.com> Return-path: Received: from mail202.messagelabs.com (mail202.messagelabs.com [216.82.254.227]) by kanga.kvack.org (Postfix) with SMTP id 562DB6B005C for ; Fri, 8 May 2009 07:12:38 -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