mm: Stop alaising VM_FAULT_HINDEX_MASK in arch code
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest6 patches 2 repliesIn review
- v15 patches 1 replySuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | riscv/mm/fault: simplify code for do_page_fault()arch/ | +41 | 2 replies | |
| 2/6 | mm: Add a leading 0 to the VM_FAULT_* typesinclude/ | +14 | 0 replies | |
| 3/6 | mm: Add VM_FAULT_ARCH_* codesinclude/ | +12 | 0 replies | |
| 4/6 | RISC-V: fault: Convert to VM_FAULT_ARCH_* codesarch/ | +2 | 0 replies | |
| 5/6 | arm: fault: Convert to VM_FAULT_ARCH_* codesarch/ | +2 | 0 replies | |
| 6/6 | s390: fault: Convert to VM_FAULT_ARCH_* codesarch/ | +5 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/6] mm: Stop alaising VM_FAULT_HINDEX_MASK in arch code
When reviewing
<https://lore.kernel.org/r/[email protected]>
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 <[email protected]>:
* 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.