X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=mm%2Fvmstat.c;h=ec6035eda933f463ceaa849e8f9f96663a2a025f;hb=c64745cf0f34f2cb08fc28c93d844e583d0d591d;hp=879bcc0a1d4c77868880555409bab4918c390f8f;hpb=18ea7e710d2452fa726814a406779188028cf1bf;p=deliverable%2Flinux.git diff --git a/mm/vmstat.c b/mm/vmstat.c index 879bcc0a1d4c..ec6035eda933 100644 --- a/mm/vmstat.c +++ b/mm/vmstat.c @@ -322,6 +322,7 @@ void refresh_cpu_vm_stats(int cpu) p->expire = 3; #endif } + cond_resched(); #ifdef CONFIG_NUMA /* * Deal with draining the remote pageset of this @@ -645,6 +646,10 @@ static const char * const vmstat_text[] = { "allocstall", "pgrotated", +#ifdef CONFIG_HUGETLB_PAGE + "htlb_buddy_alloc_success", + "htlb_buddy_alloc_fail", +#endif #endif };