Re: [PATCH 03/28] mm, page_alloc: Reduce branches in zone_statistics

2016-04-25 Thread Vlastimil Babka
On 04/15/2016 10:58 AM, Mel Gorman wrote: zone_statistics has more branches than it really needs to take an unlikely GFP flag into account. Reduce the number and annotate the unlikely flag. The performance difference on a page allocator microbenchmark is;

[PATCH 03/28] mm, page_alloc: Reduce branches in zone_statistics

2016-04-15 Thread Mel Gorman
zone_statistics has more branches than it really needs to take an unlikely GFP flag into account. Reduce the number and annotate the unlikely flag. The performance difference on a page allocator microbenchmark is; 4.6.0-rc2 4.6.0-rc2