[PATCH 2/3] powerpc64: Check cacheline size before using optimised memset routines

Tulio Magno Quites Machado Filho tuliom@linux.ibm.com
Fri Aug 6 19:50:17 GMT 2021


Anton Blanchard via Libc-alpha <libc-alpha@sourceware.org> writes:

> A number of optimised memset routines assume the cacheline size is 128B,
> so we better check before using them.

LGTM.
The patch is still missing the changes for bzero(), but I understand this is
already an improvement over what we had.
I plan to modify bzero later.

Pushed as f2a15dd668913c5a1388ba7e1131b25162b2ea75.

Thanks!

-- 
Tulio Magno


More information about the Libc-alpha mailing list