lkml.org 
[lkml]   [2008]   [Apr]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] on memoryless node, /proc/pagetypeinfo is displayed slightly funny output.
    KOSAKI Motohiro wrote::
    > Hi Mel,
    >
    > I make patch of solve trivial pagetypeinfo problem.
    > please review it.
    >
    >
    > =================================================================
    > on memoryless node, /proc/pagetypeinfo is displayed slightly funny output.
    > this patch fix it.
    >
    >
    > output example (header is outputed, but no data is outputed)
    > --------------------------------------------------------------
    > Page block order: 14
    > Pages per block: 16384
    >
    > Free pages count per migrate type at order 0 1 2 3 4 5 \
    > 6 7 8 9 10 11 12 13 14 15 16
    >
    > Number of blocks type Unmovable Reclaimable Movable Reserve Isolate
    > Page block order: 14
    > Pages per block: 16384
    >
    > Free pages count per migrate type at order 0 1 2 3 4 5 \
    > 6 7 8 9 10 11 12 13 14 15 16
    >
    >
    > Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
    > CC: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
    > CC: Mel Gorman <mel@csn.ul.ie>
    >
    > ---
    > mm/vmstat.c | 4 ++++
    > 1 file changed, 4 insertions(+)
    >
    > Index: b/mm/vmstat.c
    > ===================================================================
    > --- a/mm/vmstat.c 2008-04-29 16:48:58.000000000 +0900
    > +++ b/mm/vmstat.c 2008-04-29 16:58:33.000000000 +0900
    > @@ -638,6 +638,10 @@ static int pagetypeinfo_show(struct seq_
    > {
    > pg_data_t *pgdat = (pg_data_t *)arg;
    >
    > + /* check memoryless ndoe*/

    ndoe -> node ?



    \
     
     \ /
      Last update: 2008-04-29 10:17    [W:4.429 / U:0.420 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site