commit | cb829624867b5ab10bc6a7036d183b1b82bfe9f8 | [log] [tgz] |
---|---|---|
author | Wei Yang <[email protected]> | Thu Jan 30 22:14:29 2020 -0800 |
committer | Linus Torvalds <[email protected]> | Fri Jan 31 10:30:39 2020 -0800 |
tree | 0eb9d65aea67e45fe02700604c8a618c8d3c74f9 | |
parent | 8a7ff02acabbd877669fecb0a2e75d0930b62c85 [diff] |
mm/huge_memory.c: use head to check huge zero page The page could be a tail page, if this is the case, this BUG_ON will never be triggered. Link: http://lkml.kernel.org/r/[email protected] Fixes: e9b61f19858a ("thp: reintroduce split_huge_page()") Signed-off-by: Wei Yang <[email protected]> Acked-by: Kirill A. Shutemov <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>