projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mm: SLAB freelist randomization
[cascardo/linux.git]
/
include
/
linux
/
slab_def.h
diff --git
a/include/linux/slab_def.h
b/include/linux/slab_def.h
index
9edbbf3
..
8694f7a
100644
(file)
--- a/
include/linux/slab_def.h
+++ b/
include/linux/slab_def.h
@@
-80,6
+80,10
@@
struct kmem_cache {
struct kasan_cache kasan_info;
#endif
+#ifdef CONFIG_SLAB_FREELIST_RANDOM
+ void *random_seq;
+#endif
+
struct kmem_cache_node *node[MAX_NUMNODES];
};