Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1418381

Re: [PATCH] bitmap_equal memcmp optimization for s390

From David Howells <dhowells@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH] bitmap_equal memcmp optimization for s390
Date 2016-06-09 16:30 +0200
Message-ID <rI985-7ym-17@gated-at.bofh.it> (permalink)
References <rI985-7ym-19@gated-at.bofh.it>
Organization Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903

Show all headers | View raw


Martin Schwidefsky <schwidefsky@de.ibm.com> wrote:

> 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__.

David

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: [PATCH] bitmap_equal memcmp optimization for s390 David Howells <dhowells@redhat.com> - 2016-06-09 16:30 +0200
  Re: [PATCH] bitmap_equal memcmp optimization for s390 Martin Schwidefsky <schwidefsky@de.ibm.com> - 2016-06-09 16:50 +0200

csiph-web