Re: [PATCH 4/5] add isolate pages vmstat

From: Minchan Kim
Date: Thu Jul 09 2009 - 06:22:36 EST


On Thu, Jul 9, 2009 at 5:14 PM, KOSAKI
Motohiro<kosaki.motohiro@xxxxxxxxxxxxxx> wrote:
> ChangeLog
> ÂSince v4
> Â - Changed displaing order in show_free_areas() (as Wu's suggested)
> ÂSince v3
> Â - Fixed misaccount page bug when lumby reclaim occur
> ÂSince v2
> Â - Separated IsolateLRU field to Isolated(anon) and Isolated(file)
> ÂSince v1
> Â - Renamed IsolatePages to IsolatedLRU
>
> ==================================
> Subject: [PATCH] add isolate pages vmstat
>
> If the system have plenty threads or processes, concurrent reclaim can
> isolate very much pages.
> Unfortunately, current /proc/meminfo and OOM log can't show it.
>
> This patch provide the way of showing this information.
>
>
> reproduce way
> -----------------------
> % ./hackbench 140 process 1000
> Â => couse OOM
>
> active_anon:146 inactive_anon:0 isolated_anon:49245
> Âactive_file:41 inactive_file:0 isolated_file:113
> Âunevictable:0
> Âdirty:0 writeback:0 buffer:49 unstable:0
> Âfree:184 slab_reclaimable:276 slab_unreclaimable:5492
> Âmapped:87 pagetables:28239 bounce:0
>
>
> Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx>
> Acked-by: Rik van Riel <riel@xxxxxxxxxx>
> Acked-by: Wu Fengguang <fengguang.wu@xxxxxxxxx>
Reviewed-by: Minchan Kim <minchan.kim@xxxxxxxxx>

Kind regards,
Minchan Kim
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/