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

Liste des GroupesRevenir à cl awk 
Sujet : Re: (GAWK) Persistent Memory only works on 64-bit systems?
De : naddy (at) *nospam* mips.inka.de (Christian Weisgerber)
Groupes : comp.lang.awk
Date : 19. Apr 2025, 15:04:22
Autres entêtes
Message-ID : <slrn1007bb6.291u.naddy@lorvorc.mips.inka.de>
References : 1
User-Agent : slrn/1.0.3 (FreeBSD)
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

Date Sujet#  Auteur
19 Apr 25 * (GAWK) Persistent Memory only works on 64-bit systems?5Kenny McCormack
19 Apr 25 +- Re: (GAWK) Persistent Memory only works on 64-bit systems?1Kenny McCormack
19 Apr 25 +* Re: (GAWK) Persistent Memory only works on 64-bit systems?2Kenny McCormack
19 Apr 25 i`- Re: (GAWK) Persistent Memory only works on 64-bit systems?1Luuk
19 Apr 25 `- Re: (GAWK) Persistent Memory only works on 64-bit systems?1Christian Weisgerber

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal