lkml.org 
[lkml]   [2009]   [Jul]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 5/5] add NR_ANON_PAGES to OOM log
    On Tue, Jul 07, 2009 at 09:22:48AM +0800, KOSAKI Motohiro wrote:
    > > On Sun, Jul 05, 2009 at 08:21:20PM +0800, KOSAKI Motohiro wrote:
    > > > > On Sun, Jul 05, 2009 at 05:26:18PM +0800, KOSAKI Motohiro wrote:

    > @@ -2118,9 +2118,9 @@ void show_free_areas(void)
    > printk("Active_anon:%lu active_file:%lu inactive_anon:%lu\n"
    > " inactive_file:%lu unevictable:%lu\n"
    > " isolated_anon:%lu isolated_file:%lu\n"
    > - " dirty:%lu writeback:%lu buffer:%lu unstable:%lu\n"
    > + " dirty:%lu writeback:%lu buffer:%lu shmem:%lu\n"

    btw, nfs unstable pages are related to writeback pages, so it may be
    better to put "unstable" right after "writeback" (as it was)?

    Thanks,
    Fengguang


    > " free:%lu slab_reclaimable:%lu slab_unreclaimable:%lu\n"
    > - " mapped:%lu pagetables:%lu bounce:%lu\n",
    > + " mapped:%lu pagetables:%lu unstable:%lu bounce:%lu\n",
    > global_page_state(NR_ACTIVE_ANON),
    > global_page_state(NR_ACTIVE_FILE),
    > global_page_state(NR_INACTIVE_ANON),
    > @@ -2131,12 +2131,13 @@ void show_free_areas(void)
    > global_page_state(NR_FILE_DIRTY),
    > global_page_state(NR_WRITEBACK),
    > nr_blockdev_pages(),
    > - global_page_state(NR_UNSTABLE_NFS),
    > + global_page_state(NR_SHMEM),
    > global_page_state(NR_FREE_PAGES),
    > global_page_state(NR_SLAB_RECLAIMABLE),
    > global_page_state(NR_SLAB_UNRECLAIMABLE),
    > global_page_state(NR_FILE_MAPPED),
    > global_page_state(NR_PAGETABLE),
    > + global_page_state(NR_UNSTABLE_NFS),
    > global_page_state(NR_BOUNCE));



    \
     
     \ /
      Last update: 2009-07-07 16:01    [W:2.758 / U:0.028 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site