Groups | Search | Server Info | Login | Register


Groups > comp.lang.awk > #9961

Re: (GAWK) Persistent Memory only works on 64-bit systems?

Path csiph.com!weretis.net!feeder8.news.weretis.net!news.szaf.org!inka.de!mips.inka.de!.POSTED.localhost!not-for-mail
From Christian Weisgerber <naddy@mips.inka.de>
Newsgroups comp.lang.awk
Subject Re: (GAWK) Persistent Memory only works on 64-bit systems?
Date Sat, 19 Apr 2025 14:04:22 -0000 (UTC)
Message-ID <slrn1007bb6.291u.naddy@lorvorc.mips.inka.de> (permalink)
References <vtvung$1v9aj$1@news.xmission.com>
Injection-Date Sat, 19 Apr 2025 14:04:22 -0000 (UTC)
Injection-Info lorvorc.mips.inka.de; posting-host="localhost:::1"; logging-data="74815"; mail-complaints-to="usenet@mips.inka.de"
User-Agent slrn/1.0.3 (FreeBSD)
Xref csiph.com comp.lang.awk:9961

Show key headers only | View raw


On 2025-04-19, Kenny McCormack <gazelle@shell.xmission.com> wrote:

> And I remembered reading somewhere that the PMA feature works on 64-bit
> systems (implying that it *only* works on 64-bit systems).

Yes, the README for PMA already says:
"Requirements/assumptions include 64-bit machine words (longs and
pointers) and reasonable page sizes."

> So, I'm curious as to *why* this restriction?  Could someone on the dev
> team (or other knowledgeable person) comment on this?

You'll need to read Terence Kelly's papers and/or the source code
for a rationale.  It's not really a gawk issue as gawk is simply a
consumer and inherits the limitation from the PMA upstream.

I.e., I tried to find a quick answer and didn't.  Tagged pointers?
*quickly looks over support/pma.c*
Indeed, I see that the lowest three bits of allocated object pointers
are used for flags.

-- 
Christian "naddy" Weisgerber                          naddy@mips.inka.de

Back to comp.lang.awk | Previous | NextPrevious in thread | Find similar


Thread

(GAWK) Persistent Memory only works on 64-bit systems? gazelle@shell.xmission.com (Kenny McCormack) - 2025-04-19 10:42 +0000
  Re: (GAWK) Persistent Memory only works on 64-bit systems? Luuk <luuk@invalid.lan> - 2025-04-19 13:36 +0200
    Re: (GAWK) Persistent Memory only works on 64-bit systems? gazelle@shell.xmission.com (Kenny McCormack) - 2025-04-19 11:46 +0000
    Re: (GAWK) Persistent Memory only works on 64-bit systems? gazelle@shell.xmission.com (Kenny McCormack) - 2025-04-19 11:48 +0000
      Re: (GAWK) Persistent Memory only works on 64-bit systems? gazelle@shell.xmission.com (Kenny McCormack) - 2025-04-19 11:50 +0000
        Re: (GAWK) Persistent Memory only works on 64-bit systems? Luuk <luuk@invalid.lan> - 2025-04-19 15:07 +0200
  Re: (GAWK) Persistent Memory only works on 64-bit systems? Christian Weisgerber <naddy@mips.inka.de> - 2025-04-19 14:04 +0000

csiph-web