Re: [PATCH 09/12] selftests/mm: move psize(), pshift() into vm_utils.c

From: David Hildenbrand
Date: Fri Jun 02 2023 - 06:20:39 EST


On 02.06.23 03:33, John Hubbard wrote:
This is in preparation for linking test programs with both vm_utils.c
and uffd-common.c. The static inline routines would prevent that, and
there is no particular need for inlining here, so turn these into normal
functions that are more flexible to build and link.

I'm probably missing something important, but isn't it the most common thing to use "static inline" across multiple objects that we then link?

Hope you can enlighten me what the real issue here is.

--
Thanks,

David / dhildenb