Re: [PATCH v2 05/13] mm: prefer mm->def_vma_flags in mm logic
"Vlastimil Babka (SUSE)" <[email protected]>
| Newsgroups | gmane.linux.ports.ppc.embedded |
|---|---|
| Message-ID | <0c9b4dbb-95c2-4d19-935e-18a45d8aefd2__288.677383080937$1784730721$gmane$org@kernel.org> |
On 7/11/26 20:45, Lorenzo Stoakes wrote: > Currently mm->def_flags (of type vm_flags_t) is union'd with > mm->def_vma_flags (of type vma_flags_t). > > As part of the effort to convert vm_flags_t usage to vma_flags_t (in order > to no longer be arbitrarily limited to a system word size for VMA flags), > prefer mm->def_vma_flags to mm->def_flags throughout the mm logic. > > We update dump_mm() to use the %*pb format which means we make no > assumption about the number of VMA flag bits on output when outputting > default VMA flags. > > No functional change intended. > > Reviewed-by: Lance Yang <[email protected]> > Reviewed-by: Zi Yan <[email protected]> > Signed-off-by: Lorenzo Stoakes <[email protected]> > --- > mm/debug.c | 5 +++-- > mm/mlock.c | 13 +++++++------ > mm/mmap.c | 11 ++++++----- > mm/vma.c | 2 +- > 4 files changed, 17 insertions(+), 14 deletions(-) Reviewed-by: Vlastimil Babka (SUSE) <[email protected]>