Groups | Search | Server Info | Login | Register


Groups > comp.lang.awk > #9961

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

From Christian Weisgerber <naddy@mips.inka.de>
Newsgroups comp.lang.awk
Subject Re: (GAWK) Persistent Memory only works on 64-bit systems?
Date 2025-04-19 14:04 +0000
Message-ID <slrn1007bb6.291u.naddy@lorvorc.mips.inka.de> (permalink)
References <vtvung$1v9aj$1@news.xmission.com>

Show all headers | 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