diff options
author | Alex Shi <alex.shi@linaro.org> | 2017-11-26 12:03:21 +0800 |
---|---|---|
committer | Alex Shi <alex.shi@linaro.org> | 2017-11-26 12:03:21 +0800 |
commit | 00236b01de65d53e3cde74900c7b0be059abcf6b (patch) | |
tree | bd68b5dfc786421ab6ebe76f9f63b589ba600da9 /mm/vmstat.c | |
parent | c6c917192dccaef616c63f1d6acd0af45bf5cb84 (diff) | |
parent | d8e6d09cfa7260b12501ce94ca35977be998d4a7 (diff) |
Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-android
Diffstat (limited to 'mm/vmstat.c')
-rw-r--r-- | mm/vmstat.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mm/vmstat.c b/mm/vmstat.c index 83a003bc3cae..44618235722c 100644 --- a/mm/vmstat.c +++ b/mm/vmstat.c @@ -1093,6 +1093,8 @@ static void pagetypeinfo_showmixedcount_print(struct seq_file *m, continue; page_ext = lookup_page_ext(page); + if (unlikely(!page_ext)) + continue; if (!test_bit(PAGE_EXT_OWNER, &page_ext->flags)) continue; |