lkml.org 
[lkml]   [2011]   [Apr]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [patch] vmstat: account page allocation failures
Date
>  nopage:
> + inc_zone_state(preferred_zone, NR_ALLOC_FAIL);
> + /* count_zone_vm_events(PGALLOCFAIL, preferred_zone, 1 << order); */
> if (!(gfp_mask & __GFP_NOWARN) && printk_ratelimit()) {
> unsigned int filter = SHOW_MEM_FILTER_NODES;
>
> --- linux-next.orig/mm/vmstat.c 2011-04-28 21:34:30.000000000 +0800
> +++ linux-next/mm/vmstat.c 2011-04-28 21:34:35.000000000 +0800
> @@ -879,6 +879,7 @@ static const char * const vmstat_text[]
> "nr_shmem",
> "nr_dirtied",
> "nr_written",
> + "nr_alloc_fail",

I'm using very similar patch for debugging. However, this is useless for
admins because typical linux load have plenty GFP_ATOMIC allocation failure.
So, typical user have no way that failure rate is high or not.






\
 
 \ /
  Last update: 2011-04-28 15:53    [W:0.139 / U:1.524 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site