path: root/mm/workingset.c
diff options
authorMichal Hocko <>2018-08-17 15:46:01 -0700
committerLinus Torvalds <>2018-08-17 16:20:29 -0700
commit9ea9a68064035dee70f465f605a3e63990e33bd9 (patch)
treebab1e0e6b994cf84e92d31162241d012ea2e08fb /mm/workingset.c
parent974e6d66b6b5c6e2d6a3ccc18b2f9a0b472be5b4 (diff)
mm: drop VM_BUG_ON from __get_free_pages
There is no real reason to blow up just because the caller doesn't know that __get_free_pages cannot return highmem pages. Simply fix that up silently. Even if we have some confused users such a fixup will not be harmful. [ mask off __GFP_HIGHMEM] Link: Signed-off-by: Michal Hocko <> Reviewed-by: Andrew Morton <> Cc: Jiankang Chen <> Cc: Mel Gorman <> Cc: Johannes Weiner <> Cc: Yisheng Xie <> Cc: Hanjun Guo <> Cc: Kefeng Wang <> Signed-off-by: Andrew Morton <> Signed-off-by: Linus Torvalds <>
Diffstat (limited to 'mm/workingset.c')
0 files changed, 0 insertions, 0 deletions