public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Florian Weimer <fweimer@redhat.com>
To: Peter Bergner <bergner@linux.ibm.com>
Cc: Amrita H S <amritahs@linux.vnet.ibm.com>,
	 libc-alpha@sourceware.org, Paul E Murphy <murphyp@linux.ibm.com>,
	 Adhemerval Zanella <adhemerval.zanella@linaro.org>
Subject: Re: [V3] powerpc: Optimized strncmp for power10
Date: Mon, 06 May 2024 08:13:03 +0200	[thread overview]
Message-ID: <87zft3a2og.fsf@oldenburg.str.redhat.com> (raw)
In-Reply-To: <a7381d88-d25d-4e0a-85cf-7193fdda0f41@linux.ibm.com> (Peter Bergner's message of "Fri, 3 May 2024 16:31:27 -0500")

* Peter Bergner:

> This code looks like it assumes the kernel is using a 4k page size.
> All distros that I know of and the default kernel config for ppc64
> and ppc64le kernels is to use a 64K HW page size.  Is there a reason
> we're not checking for a 64k cache boundary here?

The ABI says the minimum page size is 4K, right?

I suppose we could add a page size check on startup and make glibc
requirements configure and build time.

Thanks,
Florian


  reply	other threads:[~2024-05-06  6:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-29  9:58 Amrita H S
2024-05-03 21:31 ` Peter Bergner
2024-05-06  6:13   ` Florian Weimer [this message]
2024-05-06 12:55     ` Peter Bergner
2024-05-06 13:01   ` Peter Bergner
2024-05-06 14:10     ` Peter Bergner
2024-05-06 13:04   ` Adhemerval Zanella Netto
2024-05-06 14:16     ` Peter Bergner

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=87zft3a2og.fsf@oldenburg.str.redhat.com \
    --to=fweimer@redhat.com \
    --cc=adhemerval.zanella@linaro.org \
    --cc=amritahs@linux.vnet.ibm.com \
    --cc=bergner@linux.ibm.com \
    --cc=libc-alpha@sourceware.org \
    --cc=murphyp@linux.ibm.com \
    /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).