lkml.org 
[lkml]   [2009]   [Apr]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH 1/5] pagemap: document clarifications
    Some bit ranges were inclusive and some not.
    Fix them to be consistently inclusive.

    Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
    ---
    Documentation/vm/pagemap.txt | 6 +++---
    1 file changed, 3 insertions(+), 3 deletions(-)

    --- mm.orig/Documentation/vm/pagemap.txt
    +++ mm/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<<page shift)
    * Bit 61 reserved for future use
    * Bit 62 page swapped
    @@ -36,7 +36,7 @@ There are three components to pagemap:
    * /proc/kpageflags. This file contains a 64-bit set of flags for each
    page, indexed by PFN.

    - The flags are (from fs/proc/proc_misc, above kpageflags_read):
    + The flags are (from fs/proc/page.c, above kpageflags_read):

    0. LOCKED
    1. ERROR
    --



    \
     
     \ /
      Last update: 2009-04-28 03:55    [W:4.125 / U:0.184 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site