Re: [PATCH 3/6] mm: always inline __mk_vma_flags() and invoked functions
From: Andrew Morton
Date: Wed Mar 25 2026 - 14:34:40 EST
On Wed, 25 Mar 2026 16:23:53 +0000 "Lorenzo Stoakes (Oracle)" <ljs@xxxxxxxxxx> wrote:
> Maybe 'into an inline constant value' is better?
<bikeshedbikeshed>
How about
: Be explicit about __mk_vma_flags() (which is used by the mk_vma_flags()
: macro) always being inline, as we rely on the compiler turning all
: constants into compile-time ones.