PostgreSQL Source Code git master
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
pg_numa.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define pg_numa_touch_mem_if_required(ptr)    do {} while(0)
 

Functions

PGDLLIMPORT int pg_numa_init (void)
 
PGDLLIMPORT int pg_numa_query_pages (int pid, unsigned long count, void **pages, int *status)
 
PGDLLIMPORT int pg_numa_get_max_node (void)
 

Macro Definition Documentation

◆ pg_numa_touch_mem_if_required

#define pg_numa_touch_mem_if_required (   ptr)     do {} while(0)

Definition at line 37 of file pg_numa.h.

Function Documentation

◆ pg_numa_get_max_node()

PGDLLIMPORT int pg_numa_get_max_node ( void  )

Definition at line 126 of file pg_numa.c.

127{
128 return 0;
129}

Referenced by pg_get_shmem_allocations_numa().

◆ pg_numa_init()

PGDLLIMPORT int pg_numa_init ( void  )

Definition at line 113 of file pg_numa.c.

114{
115 /* We state that NUMA is not available */
116 return -1;
117}

Referenced by pg_buffercache_numa_pages(), pg_get_shmem_allocations_numa(), and pg_numa_available().

◆ pg_numa_query_pages()

PGDLLIMPORT int pg_numa_query_pages ( int  pid,
unsigned long  count,
void **  pages,
int *  status 
)

Definition at line 120 of file pg_numa.c.

121{
122 return 0;
123}

Referenced by pg_buffercache_numa_pages(), and pg_get_shmem_allocations_numa().