diff options
| author | Peter Zijlstra <peterz@infradead.org> | 2020-11-30 12:21:25 +0100 |
|---|---|---|
| committer | Dave Hansen <dave.hansen@linux.intel.com> | 2022-12-15 10:37:27 -0800 |
| commit | b7301f20105a27112f7ca8040cfb0b0505a32fbd (patch) | |
| tree | ad3f79ecb92e1d93caaef1cb81c238951ca06e30 /lib/mpi/mpi-mul.c | |
| parent | f7bcd4617de67a4700a7bd7dc56808b57f1c8748 (diff) | |
x86/mm/pae: Be consistent with pXXp_get_and_clear()
Given that ptep_get_and_clear() uses cmpxchg8b, and that should be by
far the most common case, there's no point in having an optimized
variant for pmd/pud.
Introduce the pxx_xchg64() helper to implement the common logic once.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20221022114425.103392961%40infradead.org
Diffstat (limited to 'lib/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions
