Re: [PATCH 10/10] mm: replace mm->flags with bitmap entirely and set to 64 bits

David Hildenbrand
2025-08-26T13:14:54Z

On 12.08.25 17:44, Lorenzo Stoakes wrote:
> Now we have updated all users of mm->flags to use the bitmap accessors,
> repalce it with the bitmap version entirely.
>
> We are then able to move to having 64 bits of mm->flags on both 32-bit and
> 64-bit architectures.
>
> We also update the VMA userland tests to ensure that everything remains
> functional there.
>
> No functional changes intended, other than there now being 64 bits of
> available mm_struct flags.
>
> Signed-off-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
> ---
> include/linux/mm.h | 12 ++++++------
> include/linux/mm_types.h | 14 +++++---------
> include/linux/sched/coredump.h | 2 +-
> tools/testing/vma/vma_internal.h | 19 +++++++++++++++++--
> 4 files changed, 29 insertions(+), 18 deletions(-)

The vma test code duplication is still making me sad ... but I'll get
over it I'm sure.

Acked-by: David Hildenbrand <david@redhat.com>

--
Cheers

David / dhildenb