#include <linux/errno.h>
#include <linux/mm.h>
#include <linux/fs.h>
#include <linux/mman.h>
#include <linux/sched.h>
#include <linux/rwsem.h>
#include <linux/pagemap.h>
#include <linux/rmap.h>
#include <linux/spinlock.h>
#include <linux/jhash.h>
#include <linux/delay.h>
#include <linux/kthread.h>
#include <linux/wait.h>
#include <linux/slab.h>
#include <linux/rbtree.h>
#include <linux/memory.h>
#include <linux/mmu_notifier.h>
#include <linux/swap.h>
#include <linux/ksm.h>
#include <linux/hash.h>
#include <linux/freezer.h>
#include <linux/oom.h>
#include <asm/tlbflush.h>
#include "internal.h"
Go to the source code of this file.
#define KSM_KMEM_CACHE |
( |
|
__struct, |
|
|
|
__flags |
|
) |
| |
Value:
sizeof(struct __struct), __alignof__(struct __struct),\
Definition at line 201 of file ksm.c.
#define KSM_RUN_UNMERGE 2 |
#define MM_SLOTS_HASH_SHIFT 10 |
#define SEQNR_MASK 0x0ff /* low bits of unstable tree seqnr */ |
#define STABLE_FLAG 0x200 /* is listed from the stable tree */ |
#define UNSTABLE_FLAG 0x100 /* is a node of the unstable tree */ |