]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/linux/poison.h
mm, oom: introduce oom reaper
[karo-tx-linux.git] / include / linux / poison.h
index 317e16de09e508ed64b87dae6c5006b1efcb129d..51334edec506815a70868dd451d5c72944ed0a59 100644 (file)
  * Magic number "tsta" to indicate a static timer initializer
  * for the object debugging code.
  */
-#define TIMER_ENTRY_STATIC     ((void *) 0x74737461)
+#define TIMER_ENTRY_STATIC     ((void *) 0x300 + POISON_POINTER_DELTA)
 
 /********** mm/debug-pagealloc.c **********/
+#ifdef CONFIG_PAGE_POISONING_ZERO
+#define PAGE_POISON 0x00
+#else
 #define PAGE_POISON 0xaa
+#endif
+
+/********** mm/page_alloc.c ************/
+
+#define TAIL_MAPPING   ((void *) 0x400 + POISON_POINTER_DELTA)
 
 /********** mm/slab.c **********/
 /*