Re: [PATCH 04/29] selftests/mm: Merge util.h into vm_util.h

From: David Hildenbrand
Date: Mon Apr 03 2023 - 03:51:27 EST


On 30.03.23 18:06, Peter Xu wrote:
There're two util headers under mm/ kselftest. Merge one with another. It
turns out util.h is the easy one to move.

When merging, drop PAGE_SIZE / PAGE_SHIFT because they're unnecessary
wrappers to page_size() / page_shift(), meanwhile rename them to psize()
and pshift() so as to not conflict with some existing definitions in some
test files that includes vm_util.h.

Signed-off-by: Peter Xu <peterx@xxxxxxxxxx>
---

Reviewed-by: David Hildenbrand <david@xxxxxxxxxx>

--
Thanks,

David / dhildenb