mm-page_allocc-simplify-the-code-by-using-macro-k.patch removed from -mm tree
The patch titled
Subject: mm/page_alloc.c: simplify the code by using macro K()
has been removed from the -mm tree. Its filename was
mm-page_allocc-simplify-the-code-by-using-macro-k.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Miaohe Lin <[email protected]>
Subject: mm/page_alloc.c: simplify the code by using macro K()
Use helper macro K() to convert the pages to the corresponding size. Minor readability improvement.
Signed-off-by Miaohe Lin <[email protected]>
Acked-by Mel Gorman <[email protected]>
Reviewed-by David Hildenbrand <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Stephen Rothwell <[email protected]>
Cc Vlastimil Babka <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
mm/page_alloc.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-)
mm/page_alloc.c renamed from mm/page_alloc.c~mm-page_allocc-simplify-the-code-by-using-macro-k +5 -7
@@ -8130,8 +8130,7 @@ unsigned long free_reserved_area(void *s }if (pages && s) -pr_info ("Freeing %s memory: %ldK\n" , - s, pages << (PAGE_SHIFT -10 )); +pr_info ("Freeing %s memory: %ldK\n" , s,K (pages));return pages; }
@@ -8176,14 +8175,13 @@ void __init mem_init_print_info(void)", %luK highmem" #endif")\n" , -nr_free_pages () << (PAGE_SHIFT -10 ), - physpages << (PAGE_SHIFT -10 ), +K (nr_free_pages ()),K (physpages), codesize >>10 , datasize >>10 , rosize >>10 , (init_data_size + init_code_size) >>10 , bss_size >>10 , - (physpages -totalram_pages () - totalcma_pages) << (PAGE_SHIFT -10 ), - totalcma_pages << (PAGE_SHIFT -10 ) +K (physpages -totalram_pages () - totalcma_pages), +K (totalcma_pages) #ifdef CONFIG_HIGHMEM - ,totalhigh_pages () << (PAGE_SHIFT -10 ) + ,K (totalhigh_pages ()) #endif ); }
_
Patches currently in -mm which might be from [email protected] are