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 <firstname.lastname@example.org> Cc: David Hansen <email@example.com> Cc: Catalin Marinas <firstname.lastname@example.org> Cc: Johannes Weiner <email@example.com> Cc: Mel Gorman <firstname.lastname@example.org> Signed-off-by: Andrew Morton <email@example.com> Signed-off-by: Linus Torvalds <firstname.lastname@example.org>
Showing with 2 additions and 0 deletions