[PATCH v3 0/2] arm64: speed up __arch_copy_from_user() for large copies

Qi Xi xiqi5703 at 163.com
Mon Nov 16 03:13:52 PST 2026


Hi Catalin,

Thanks for the previous review. v4 is posted here: 
https://lore.kernel.org/all/20261116072512.1323883-1-xiqi5703@163.com/


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




More information about the linux-arm-kernel mailing list