Re: [PATCH v1 1/6] mm: Adjust shuffle code to allow for future coalescing

From: Dave Hansen
Date: Tue Jun 25 2019 - 14:26:48 EST


On 6/19/19 3:33 PM, Alexander Duyck wrote:
> This patch is meant to move the head/tail adding logic out of the shuffle
> code and into the __free_one_page function since ultimately that is where
> it is really needed anyway. By doing this we should be able to reduce the
> overhead and can consolidate all of the list addition bits in one spot.

This looks like a sane cleanup that can stand on its own. It gives nice
names (buddy_merge_likely()) to things that were just code blobs before.

Reviewed-by: Dave Hansen <dave.hansen@xxxxxxxxx>