Thread (3 messages) flat view 3 messages, 2 authors, 2016-06-09

Re: [PATCH] bitmap_equal memcmp optimization for s390

From: Martin Schwidefsky <hidden>
Date: 2016-06-09 14:46:17
Also in: lkml

On Thu, 09 Jun 2016 15:26:47 +0100
David Howells [off-list ref] wrote:
Martin Schwidefsky [off-list ref] wrote:
quoted
I hesitate to put another CONFIG_S390 into common code, alternatively
__HAVE_ARCH_MEMCMP could be used. There are 7 architectures with the
define: arc, arm64, blackfin, frv, powerpc, s390 and sparc.
Of those I guess only powerpc, s390 and sparc will have configs with
(NR_CPUS > BITS_PER_LONG). For (NR_CPUS <= BITS_PER_LONG) the xor
optimization is used.
FRV doesn't have __HAVE_ARCH_MEMCMP for __KERNEL__.
Yes indeed. How strange to define __HAVE_ARCH_xxx for user space only.

-- 
blue skies,
   Martin.

"Reality continues to ruin my life." - Calvin.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help