[Devel] [PATCH rh7 0/3] mm/page_alloc: fix false positive BUG_ON on uninitialized page structure due to pageblock alignment

Konstantin Khorenko khorenko at virtuozzo.com
Wed Apr 25 12:32:14 MSK 2018


ms commit b92df1de5d28 ("mm: page_alloc: skip over regions of invalid pfns
where possible") introduced a bug where move_freepages() triggers a
BUG_ON() on uninitialized page structure due to pageblock alignment.

So drop the optimization.

https://jira.sw.ru/browse/PSBM-83746

Ard Biesheuvel (1):
  ms/Revert "mm/page_alloc: fix memmap_init_zone pageblock alignment"

Daniel Vacek (2):
  ms/mm/page_alloc: fix memmap_init_zone pageblock alignment
  ms/Revert "mm: page_alloc: skip over regions of invalid pfns where
    possible"

 include/linux/memblock.h |  1 -
 mm/memblock.c            | 28 ----------------------------
 mm/page_alloc.c          | 15 ++++-----------
 3 files changed, 4 insertions(+), 40 deletions(-)

-- 
2.15.1



More information about the Devel mailing list