linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/6] mm: Stop alaising VM_FAULT_HINDEX_MASK in arch code
@ 2023-03-15  3:03 Palmer Dabbelt
  2023-03-15  3:03 ` [PATCH v2 1/6] riscv/mm/fault: simplify code for do_page_fault() Palmer Dabbelt
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: Palmer Dabbelt @ 2023-03-15  3:03 UTC (permalink / raw)
  To: akpm; +Cc: linux-mm, linux-riscv, linux-s390, linux-arm-kernel

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.

I'm including that original patch this time in the hope that makes it
easier for folks to review.  There were some boring conflicts so I
figured I'd rebase rather than pinging again.

Changes since v1 <20221203030356.3917-1-palmer@rivosinc.com>:

* Add the original patch, and reorder the RISC-V stuff first.
* Rebased on v6.3-rc2
* Moved the comment about VM_FAULT_ARCH_* to the patch that adds those,
  rather than the patch that adds 0s.




^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-03-16  9:33 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-15  3:03 [PATCH v2 0/6] mm: Stop alaising VM_FAULT_HINDEX_MASK in arch code Palmer Dabbelt
2023-03-15  3:03 ` [PATCH v2 1/6] riscv/mm/fault: simplify code for do_page_fault() Palmer Dabbelt
2023-03-15  5:02   ` Matthew Wilcox
2023-03-15  5:09     ` Palmer Dabbelt
2023-03-15  3:03 ` [PATCH v2 2/6] mm: Add a leading 0 to the VM_FAULT_* types Palmer Dabbelt
2023-03-15  3:03 ` [PATCH v2 3/6] mm: Add VM_FAULT_ARCH_* codes Palmer Dabbelt
2023-03-16  9:32   ` kernel test robot
2023-03-15  3:03 ` [PATCH v2 4/6] RISC-V: fault: Convert to " Palmer Dabbelt
2023-03-15  3:03 ` [PATCH v2 5/6] arm: " Palmer Dabbelt
2023-03-15  3:03 ` [PATCH v2 6/6] s390: " Palmer Dabbelt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox