mm/arch: Fix a few collide definition on private use of VM_FAULT_*
Status from this message: Applied.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | mm/arm: Define private VM_FAULT_* reasons from top bitsarch/ | +6 | 0 replies | |
| 2/3 | mm/arm64: Define private VM_FAULT_* reasons from top bitsarch/ | +6 | 0 replies | |
| 3/3 | mm/s390: Define private VM_FAULT_* reasons from top bitsarch/ | +9 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] mm/arch: Fix a few collide definition on private use of VM_FAULT_*
I noticed a few collision usage on VM_FAULT_* definition in the page fault path on arm/arm64/s390 where the VM_FAULT_* can overlap with the generic definition of vm_fault_reason.
The major overlapped part being VM_FAULT_HINDEX_MASK which is used only by the hugetlb hwpoisoning.
I'm not sure whether any of them can have a real impact, but that does not look like to be expected. I didn't copy stable, if anyone thinks it should please shoot. Nor did I test them in any form - I just changed the allocations from top bits and added a comment for each of them.
Please have a look, thanks.
Peter Xu (3):
mm/arm: Define private VM_FAULT_* reasons from top bits mm/arm64: Define private VM_FAULT_* reasons from top bits mm/s390: Define private VM_FAULT_* reasons from top bits
arch/arm/mm/fault.c | 8 ++++++-- arch/arm64/mm/fault.c | 8 ++++++-- arch/s390/mm/fault.c | 14 +++++++++----- 3 files changed, 21 insertions(+), 9 deletions(-)
Signature · 1 line
2.37.3