Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
mmap_64.c File Reference
#include <linux/personality.h>
#include <linux/mm.h>
#include <linux/random.h>
#include <linux/sched.h>

Go to the source code of this file.


#define MIN_GAP32   (128*1024*1024)
#define MIN_GAP64   ((128 + 1024)*1024*1024UL)
#define MIN_GAP   ((is_32bit_task()) ? MIN_GAP32 : MIN_GAP64)
#define MAX_GAP   (TASK_SIZE/6*5)


void arch_pick_mmap_layout (struct mm_struct *mm)

Macro Definition Documentation

#define MAX_GAP   (TASK_SIZE/6*5)

Definition at line 43 of file mmap_64.c.

#define MIN_GAP   ((is_32bit_task()) ? MIN_GAP32 : MIN_GAP64)

Definition at line 42 of file mmap_64.c.

#define MIN_GAP32   (128*1024*1024)

Definition at line 40 of file mmap_64.c.

#define MIN_GAP64   ((128 + 1024)*1024*1024UL)

Definition at line 41 of file mmap_64.c.

Function Documentation

void arch_pick_mmap_layout ( struct mm_struct mm)

Definition at line 86 of file mmap_64.c.