Refactor do_fault_around()
Status from this message: [merged mm-stable] mm-pefer-fault_around_pages-to-fault_around_bytes.patch removed from -mm tree
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 2 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | mm: refactor do_fault_around()mm/ | +16 | 0 replies | Applied |
| 2/2 | mm: pefer fault_around_pages to fault_around_bytesmm/ | +15 | 0 replies | Applied |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] Refactor do_fault_around()
Refactor do_fault_around() to avoid bitwise tricks and arather difficult to follow logic. Additionally, prefer fault_around_pages to fault_around_bytes as the operations are performed at a base page granularity.
I have run this code against a small program I wrote which generates significant input data and compares output with the original function to ensure that it behaves the same as the old code across varying vmf, vma and fault_around_pages inputs.
Lorenzo Stoakes (2):
mm: refactor do_fault_around()
mm: pefer fault_around_pages to fault_around_bytes
mm/memory.c | 62 ++++++++++++++++++++++++++--------------------------- 1 file changed, 30 insertions(+), 32 deletions(-)
--
2.39.2