mm/page_alloc.c: clean code by merging two functions