mm, page_alloc: simplify last cpupid reset
[email protected]
maintainerPATCH 99/117 mm, page_alloc: simplify last cpupid reset
From: Mel Gorman <[email protected]>
Subject: mm, page_alloc: simplify last cpupid reset
The current reset unnecessarily clears flags and makes pointless calculations.
Signed-off-by Mel Gorman <[email protected]>
Acked-by Vlastimil Babka <[email protected]>
Cc Jesper Dangaard Brouer <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
include/linux/mm.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
include/linux/mm.h renamed from include/linux/mm.h~mm-page_alloc-simplify-last-cpupid-reset +0 -1
@@ -850,10 +850,7 @@ extern int page_cpupid_xchg_last(structstatic inline void page_cpupid_reset_last (struct page *page) { -int cpupid = (1 <<LAST_CPUPID_SHIFT ) -1 ;