]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - include/linux/mm.h
mlock: mlocked pages are unevictable
[net-next-2.6.git] / include / linux / mm.h
index 40236290e2ae5f9469445b4079e47524cd56b91c..ffee2f74341856275ead62f71c6093c8de457199 100644 (file)
@@ -131,6 +131,11 @@ extern unsigned int kobjsize(const void *objp);
 #define VM_SequentialReadHint(v)       ((v)->vm_flags & VM_SEQ_READ)
 #define VM_RandomReadHint(v)           ((v)->vm_flags & VM_RAND_READ)
 
+/*
+ * special vmas that are non-mergable, non-mlock()able
+ */
+#define VM_SPECIAL (VM_IO | VM_DONTEXPAND | VM_RESERVED | VM_PFNMAP)
+
 /*
  * mapping from the currently active vm_flags protection bits (the
  * low four bits) to a page protection mask..