Re: Better shared data structure management and resizable shared data structures - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Better shared data structure management and resizable shared data structures
Date
Msg-id 6f427358-a115-47d9-9e31-b28342245215@iki.fi
Whole thread Raw
In response to Re: Better shared data structure management and resizable shared data structures  (Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>)
List pgsql-hackers
On 16/02/2026 16:52, Ashutosh Bapat wrote:
> 2. to use madvise() the address needs to be backed by a file, so
> memfd_create is a must.

It seems to work fine for anonymous mmapped memory here. See attached 
test program.

- Heikki

Attachment

pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: generating function default settings from pg_proc.dat
Next
From: Andres Freund
Date:
Subject: Re: pgstat include expansion