X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=mm%2Fvmstat.c;h=5e43004828971e778a185ec69f2ef9710f085fb4;hb=7665d85b7307fa0218881bc2009de067c42dc52e;hp=72c17981cb70dc8c24530c4fed915a10392ac8b6;hpb=60f30350fd69a3e4d5f0f45937d3274c22565134;p=linux-2.6-block.git diff --git a/mm/vmstat.c b/mm/vmstat.c index 72c17981cb70..5e4300482897 100644 --- a/mm/vmstat.c +++ b/mm/vmstat.c @@ -826,6 +826,7 @@ const char * const vmstat_text[] = { "compact_stall", "compact_fail", "compact_success", + "compact_daemon_wake", #endif #ifdef CONFIG_HUGETLB_PAGE @@ -847,6 +848,7 @@ const char * const vmstat_text[] = { "thp_collapse_alloc_failed", "thp_split_page", "thp_split_page_failed", + "thp_deferred_split_page", "thp_split_pmd", "thp_zero_page_alloc", "thp_zero_page_alloc_failed", @@ -1120,7 +1122,7 @@ static void pagetypeinfo_showmixedcount(struct seq_file *m, pg_data_t *pgdat) #ifdef CONFIG_PAGE_OWNER int mtype; - if (!page_owner_inited) + if (!static_branch_unlikely(&page_owner_inited)) return; drain_all_pages(NULL);