[PATCH 0/5] mm: Stop alaising VM_FAULT_HINDEX_MASK in arch code

Palmer Dabbelt palmer at rivosinc.com
Fri Dec 2 19:03:51 PST 2022


When reviewing
<https://lore.kernel.org/r/20221029084715.3669204-1-tongtiangen@huawei.com>
I noticed that the arch-specific VM_FAULT flags used by arm and s390
alias with VM_FAULT_HINDEX_MASK.  I'm not sure if it's possible to
manifest this as a bug, but it certainly seems fragile.

The RISC-V patch is on top of the linked patch above, which isn't in any
proper tree yet.  Everything else should apply to 6.1-rc1, but I'm in no
particular rush to get that cleanup in so rush on my end for 6.2.  That
said I figured it would be easier to send along this now, just in case
someone who knows the MM code better thinks it can manifest as a bug.




More information about the linux-riscv mailing list