Skip to content

Rework the pte handling for hardware AF/DBM

Will Deacon linux-arm-kernel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest0 of 5 patches 0 repliesNew

Patches in v2 No applies recorded yet

None of the 5 patches the cover letter announces are in this archive.

Reviews trailers per patch

PatchWill Deacon
SeriesR-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/5] Rework the pte handling for hardware AF/DBM
Quoted 11 lines · Catalin Marinas

That's the second version of the pte accessors reworking series (first version at [1]).

Changes since v1:

- READ_ONCE moved out of the cmpxchg loops since cmpxchg already returns the old value (probably more efficient with LSE atomics)

- The first patch from the first series has been merged upstream (cc stable)

Quoted 7 lines

- Kconfig entry kept just to disable the hardware feature but the code paths all assume hardware AF/DBM

- PAGE_COPY(_EXEC) removed as they just duplicate PAGE_READONLY(_EXEC)

I kept the review-by tags in place as the logic is unchanged but feel free to look at the patches again.

Thanks, this looks good to me now:

Will