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


Groups > linux.kernel > #1709035

Re: [PATCH v2 0/4] Update memcpy, memset etc. for M7/M8 architectures

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH v2 0/4] Update memcpy, memset etc. for M7/M8 architectures
Date 2017-08-10 23:40 +0200
Message-ID <ud3ln-31s-13@gated-at.bofh.it> (permalink)
References <uc06d-7Ai-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Babu Moger <babu.moger@oracle.com>
Date: Mon,  7 Aug 2017 17:52:48 -0600

> This series of patches updates the memcpy, memset, copy_to_user,
> copy_from_user etc for SPARC M7/M8 architecture.

This doesn't build, you cannot assume the existence of "%ncc", it is a
recent addition.

Furthermore there is no need to ever use %ncc in v9 targetted code
anyways.

I'll fix that up, but this was a really disappointing build failure
to hit.

Meanwhile, two questions:

1) Is this also faster on T4 as well?  If it is, we can just get rid
   of the T4 routines and use this on those chips as well.

2) There has been a lot of discussion and consideration put into how
   a memcpy/memset routine might be really great for the local cpu
   but overall pessimize performance for other cpus either locally
   on the same core (contention for physical resources such as
   ports to the store buffer and/or L3 cache) or on other cores.

   Has any such study been done into these issues wrt. this new code?

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


Thread

[PATCH v2 0/4] Update memcpy, memset etc. for M7/M8 architectures Babu Moger <babu.moger@oracle.com> - 2017-08-08 02:00 +0200
  [PATCH v2 1/4] arch/sparc: Separate the exception handlers from NG4memcpy Babu Moger <babu.moger@oracle.com> - 2017-08-08 02:00 +0200
  [PATCH v2 4/4] arch/sparc: Add accurate exception reporting in M7memcpy Babu Moger <babu.moger@oracle.com> - 2017-08-08 02:00 +0200
  [PATCH v2 2/4] arch/sparc: Rename exception handlers Babu Moger <babu.moger@oracle.com> - 2017-08-08 02:00 +0200
  Re: [PATCH v2 0/4] Update memcpy, memset etc. for M7/M8  architectures David Miller <davem@davemloft.net> - 2017-08-10 23:40 +0200

csiph-web