Re: [PATCH 31/34] mm: vmstat: replace __count_zone_vm_events with a zone id equivalent

2016-07-12 Thread Johannes Weiner
On Fri, Jul 08, 2016 at 10:35:07AM +0100, Mel Gorman wrote: > This is partially a preparation patch for more vmstat work but it also has > the slight advantage that __count_zid_vm_events is cheaper to calculate > than __count_zone_vm_events(). > > Signed-off-by: Mel Gorman > Acked-by: Vlastimil B

[PATCH 31/34] mm: vmstat: replace __count_zone_vm_events with a zone id equivalent

2016-07-08 Thread Mel Gorman
This is partially a preparation patch for more vmstat work but it also has the slight advantage that __count_zid_vm_events is cheaper to calculate than __count_zone_vm_events(). Signed-off-by: Mel Gorman Acked-by: Vlastimil Babka --- include/linux/vmstat.h | 5 ++--- mm/page_alloc.c| 2