PostgreSQL Source Code git master
Loading...
Searching...
No Matches
pg_numa.c File Reference
#include "c.h"
#include <unistd.h>
#include "miscadmin.h"
#include "port/pg_numa.h"
Include dependency graph for pg_numa.c:

Go to the source code of this file.

Functions

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

Function Documentation

◆ pg_numa_get_max_node()

int pg_numa_get_max_node ( void  )

Definition at line 138 of file pg_numa.c.

139{
140 return 0;
141}

Referenced by pg_get_shmem_allocations_numa().

◆ pg_numa_init()

int pg_numa_init ( void  )

Definition at line 125 of file pg_numa.c.

126{
127 /* We state that NUMA is not available */
128 return -1;
129}

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

◆ pg_numa_query_pages()

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

Definition at line 132 of file pg_numa.c.

133{
134 return 0;
135}

Referenced by pg_buffercache_os_pages_internal(), and pg_get_shmem_allocations_numa().