Linux Kernel
3.7.1
|
#include <stdlib.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/shm.h>
#include <sys/mman.h>
Go to the source code of this file.
Macros | |
#define | SHM_HUGETLB 04000 |
#define | LENGTH (256UL*1024*1024) |
#define | dprintf(x) printf(x) |
#define | ADDR (void *)(0x0UL) |
#define | SHMAT_FLAGS (0) |
Functions | |
int | main (void) |
#define ADDR (void *)(0x0UL) |
Definition at line 50 of file hugepage-shm.c.
Definition at line 43 of file hugepage-shm.c.
#define LENGTH (256UL*1024*1024) |
Definition at line 41 of file hugepage-shm.c.
#define SHM_HUGETLB 04000 |
Definition at line 38 of file hugepage-shm.c.
#define SHMAT_FLAGS (0) |
Definition at line 51 of file hugepage-shm.c.
Definition at line 54 of file hugepage-shm.c.