Thread (4 messages) 4 messages, 2 authors, 2015-01-21

Re: [PATCH 1/2] powerpc: Add 64bit optimised memcmp

From: Anton Blanchard <hidden>
Date: 2015-01-21 12:06:40

Hi Arnd,
Would it help to also add a way for an architecture to override
memcmp_pages() with its own implementation? That way you could
skip the unaligned part, hardcode the loop counter and avoid the
preempt_disable() in kmap_atomic().
Good idea. We could also have a generic implementation that did long
comparisons, so everyone would get a decent speed up.

Anton
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help