# Re: \[PATCH 06/13\] mm/ksm: convert VMA flag tests to use vma\_flags\_t

- From: Lance Yang \<lance.yang@linux.dev\>
- Date: 2026-11-06 06:09:52 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2026/11/17875954
- Thread: https://ratatoskr.run/linux-mm/2026/11/17874173/t.md

```text

On Thu, Nov 05, 2026 at 09:30:57PM +0000, Lorenzo Stoakes (ARM) wrote:
>Replace use of the legacy vm_flags_t flags with vma_flags_t values where
>KSM tests VMA flags directly.
>
>The ksm_madvise() interface continues to take legacy flags for the time
>being.
>
>No functional change intended.
>
>Signed-off-by: Lorenzo Stoakes (ARM) <ljs@kernel.org>
>---

Reviewed-by: Lance Yang <lance.yang@linux.dev>

```
