projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mm, page_owner: convert page_owner_inited to static key
[linux-2.6-block.git]
/
mm
/
vmstat.c
diff --git
a/mm/vmstat.c
b/mm/vmstat.c
index 72c17981cb70dc8c24530c4fed915a10392ac8b6..69ce64f7b8d76de74991638730f825855f7a26d2 100644
(file)
--- a/
mm/vmstat.c
+++ b/
mm/vmstat.c
@@
-1120,7
+1120,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);