diff options
author | Hugh Dickins <hughd@google.com> | 2011-03-14 09:08:47 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-03-14 16:29:50 +0100 |
commit | 2fbfac4e053861925fa3fffcdc327649b09af54c (patch) | |
tree | 36d9da87f5a42d61cd8be2fd02bab666cb8ac145 /kernel/sched_cpupri.h | |
parent | compat breakage in preadv() and pwritev() (diff) | |
download | linux-2fbfac4e053861925fa3fffcdc327649b09af54c.tar.xz linux-2fbfac4e053861925fa3fffcdc327649b09af54c.zip |
thp+memcg-numa: fix BUG at include/linux/mm.h:370!
THP's collapse_huge_page() has an understandable but ugly difference
in when its huge page is allocated: inside if NUMA but outside if not.
It's hardly surprising that the memcg failure path forgot that, freeing
the page in the non-NUMA case, then hitting a VM_BUG_ON in get_page()
(or even worse, using the freed page).
Signed-off-by: Hugh Dickins <hughd@google.com>
Reviewed-by: Minchan Kim <minchan.kim@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/sched_cpupri.h')
0 files changed, 0 insertions, 0 deletions