Re: [patch] vmstat: account page allocation failures

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>  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.




--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxxx  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]