bug-gnulib@gnu.org mirror (unofficial)
 help / color / mirror / Atom feed
From: Bruno Haible <bruno@clisp.org>
To: Ben Pfaff <blp@cs.stanford.edu>
Cc: "Tim Rühsen" <tim.ruehsen@gmx.de>,
	bug-gnulib <bug-gnulib@gnu.org>, "Darshit Shah" <darnir@gnu.org>
Subject: Re: immutable string type
Date: Sun, 29 Dec 2019 10:29:53 +0100	[thread overview]
Message-ID: <6610661.GhE8slusZh@omega> (raw)
In-Reply-To: <CAA_G9+iPr9W5WSv_YiAJcORKHCJ1kOceNsSACojywZP94VGApA@mail.gmail.com>

Ben Pfaff wrote:
> This sort of thing won't work on systems with virtually indexed caches,
> at least not without inserting explicit flushes.

Good point. Yes, explicit data cache flushing instructions or - in the worst
case - system calls are necessary.

> I don't know whether
> virtually indexed caches still exist in the wild.

Yes, data caches are indexed by virtual address, not by physical address, on
many platforms. That makes the common case of a cache lookup faster.

Bruno




  reply	other threads:[~2019-12-29  9:30 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-28 11:17 immutable string type Bruno Haible
2019-12-28 13:35 ` Tim Rühsen
2019-12-29  9:45   ` Bruno Haible
2019-12-29 12:07     ` Tim Rühsen
2019-12-29 18:49       ` Paul Eggert
2019-12-29 19:03         ` Tim Rühsen
2019-12-30  3:11           ` Paul Eggert
2021-01-18  8:17       ` Bruno Haible
2019-12-28 16:54 ` Ben Pfaff
2019-12-29  9:29   ` Bruno Haible [this message]
2019-12-28 18:15 ` Paul Eggert

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

  List information: https://lists.gnu.org/mailman/listinfo/bug-gnulib

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

  git send-email \
    --in-reply-to=6610661.GhE8slusZh@omega \
    --to=bruno@clisp.org \
    --cc=blp@cs.stanford.edu \
    --cc=bug-gnulib@gnu.org \
    --cc=darnir@gnu.org \
    --cc=tim.ruehsen@gmx.de \
    /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).