"Lorenzo Stoakes (ARM)" <[email protected]> writes:
>> > It's not really all over the place, it's converting vm_flags_t to >> > vma_flags_t across madvise.c, which involves changing a few function >> > signatures, whose callers must be updated. >> >> Ah, yeah. What on earth does arch/powerpc/kvm/book3s_hv_uvmem.c do with >> madvise :( > > Yeah it's quite worrying that... :) > Thanks David & Lorenzo, for pointing this out. I have changed this to use ksm_disable() instead [1], which then also removes vm_flags_t usage from there. Please take a look at it whenever you can. Since it also removes the EXPORT of ksm_madvise(), I think we will anyways need an Acked-by there. (note that: looking at those changes, it seems like it should go via powerpc tree) [1]: https://lore.kernel.org/linuxppc-dev/0500fbfbb98776091c89584155368610095b4dd5.1794537345.git.ritesh.l...@gmail.com/ -ritesh
