Re: [PATCH v3 0/2] arm64: speed up __arch_copy_from_user() for large copies
From: Qi Xi
Date: Mon Nov 16 2026 - 06:26:19 EST
Hi Catalin,
Thanks for the previous review. v4 is posted here:
https://lore.kernel.org/all/20261116072512.1323883-1-xiqi5703@xxxxxxx/
The issue you raised is addressed: PAN is toggled only around
the new fast path, so LDTR/STTR remain the default for every other copy
and keep protecting against user-controlled kernel accesses. Fault
handling is fixed as well - every load in the 64-byte loop has its own
exception table entry, so a fault in the middle returns the exact number
of bytes not copied - and there is no new CONFIG option, command line
parameter or cpucap.
Thanks,
Qi