Commit d29bb978 authored by Committed by Linus Torvalds
mm/page_alloc: add a VM_BUG in __free_one_page() if the zone is uninitialized.
Freeing pages to uninitialized zones is not handled by __free_one_page(), and should never happen when the code is correct. Ran into this while writing some code that dynamically onlines extra zones. Signed-off-by: Cody P Schafer <email@example.com> Cc: David Hansen <firstname.lastname@example.org> Cc: Catalin Marinas <email@example.com> Cc: Johannes Weiner <firstname.lastname@example.org> Cc: Mel Gorman <email@example.com> Signed-off-by: Andrew Morton <firstname.lastname@example.org> Signed-off-by: Linus Torvalds <email@example.com>
Showing with 2 additions and 0 deletions