public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Andrew Pinski <pinskia@gmail.com>
To: Florian Weimer <fweimer@redhat.com>
Cc: Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>,
	 Adhemerval Zanella <adhemerval.zanella@linaro.org>,
	GNU C Library <libc-alpha@sourceware.org>
Subject: Re: [libc/string] State of PAGE_COPY_FWD / PAGE_COPY_THRESHOLD
Date: Thu, 10 Nov 2016 08:55:00 -0000	[thread overview]
Message-ID: <CA+=Sn1=2S4B46SZZyUbEemhYNMK1Fbs6b1BTRx4QXkXp+OVrjQ@mail.gmail.com> (raw)
In-Reply-To: <CA+=Sn1nPuE45Su=dkfyfn-cci+yagcE0tytTs=x+vyv5AfExhQ@mail.gmail.com>

On Thu, Nov 10, 2016 at 12:34 AM, Andrew Pinski <pinskia@gmail.com> wrote:
> On Thu, Nov 10, 2016 at 12:25 AM, Florian Weimer <fweimer@redhat.com> wrote:
>> On 11/10/2016 09:05 AM, Andrew Pinski wrote:
>>
>>> Also memcpy/memset is useful to optimize for each micro-arch instead
>>> of doing this kind of optimization is better in general.  I have a
>>> semi-optimized memcpy for ThunderX (T88, not T81 or T83; still have
>>> not looked into an optimized version for T83/T81 yet) and have an idea
>>> how to optimize it for another core but there is no way to handle this
>>> in glibc because of kernel or glibc infrastructure for arm64.
>>
>>
>> We do this all the time on x86_64 (and presumably POWER).  What's missing on
>>
>
> Unless you want to read a file (either /proc/cpuinfo or
> /sys/devices/system/cpu/cpuN/regs/identification/midr_el1) the arch
> does not provide a way to identify what processor you are running on
> in userspace.  There has been some discussions already on the kernel
> list and I was going to have another discussion with the arm folks but
> I can't find the email thread where the meeting was setup for :).

I found the email thread, it is setup for this Friday.

Thanks,
Andrew

>
> Thanks,
> Andrew
>
>>
>> Thanks,
>> Florian
>>

  reply	other threads:[~2016-11-10  8:55 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-01  9:28 Maxim Kuvyrkov
2016-11-01 13:59 ` Adhemerval Zanella
2016-11-10  7:39   ` Maxim Kuvyrkov
2016-11-10  7:48     ` Andrew Pinski
2016-11-10  7:52       ` Maxim Kuvyrkov
2016-11-10  8:01         ` Andrew Pinski
2016-11-10  8:05           ` Andrew Pinski
2016-11-10  8:25             ` Florian Weimer
2016-11-10  8:34               ` Andrew Pinski
2016-11-10  8:55                 ` Andrew Pinski [this message]
2016-11-10  9:25                   ` Siddhesh Poyarekar
2016-11-10  9:29                     ` Florian Weimer
2016-11-10  9:34                       ` Siddhesh Poyarekar
2016-11-30 11:18                   ` Siddhesh Poyarekar
2016-11-10  8:26     ` Florian Weimer
2016-11-10  8:27 ` Florian Weimer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CA+=Sn1=2S4B46SZZyUbEemhYNMK1Fbs6b1BTRx4QXkXp+OVrjQ@mail.gmail.com' \
    --to=pinskia@gmail.com \
    --cc=adhemerval.zanella@linaro.org \
    --cc=fweimer@redhat.com \
    --cc=libc-alpha@sourceware.org \
    --cc=maxim.kuvyrkov@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).