Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1418381 > unrolled thread
| Started by | David Howells <dhowells@redhat.com> |
|---|---|
| First post | 2016-06-09 16:30 +0200 |
| Last post | 2016-06-09 16:50 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
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
| From | David Howells <dhowells@redhat.com> |
|---|---|
| Date | 2016-06-09 16:30 +0200 |
| Subject | Re: [PATCH] bitmap_equal memcmp optimization for s390 |
| Message-ID | <rI985-7ym-17@gated-at.bofh.it> |
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
[toc] | [next] | [standalone]
| From | Martin Schwidefsky <schwidefsky@de.ibm.com> |
|---|---|
| Date | 2016-06-09 16:50 +0200 |
| Message-ID | <rI9rs-7FY-31@gated-at.bofh.it> |
| In reply to | #1418381 |
On Thu, 09 Jun 2016 15:26:47 +0100 David Howells <dhowells@redhat.com> wrote: > 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__. Yes indeed. How strange to define __HAVE_ARCH_xxx for user space only. -- blue skies, Martin. "Reality continues to ruin my life." - Calvin.
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web