mirror of https://github.com/dynup/kpatch
20 lines
615 B
Plaintext
20 lines
615 B
Plaintext
ensure that __cmpxchg_double_slab.isra.45 and
|
|
__cmpxchg_double_slab.isra.45.part.46 aren't correlated.
|
|
|
|
Disabled: __flush_cpu_slab() is present in vmlinux.symtab but is optimized
|
|
out during kpatch builds
|
|
|
|
diff -Nupr src.orig/mm/slub.c src/mm/slub.c
|
|
--- src.orig/mm/slub.c 2016-12-15 19:55:38.988000000 +0000
|
|
+++ src/mm/slub.c 2016-12-15 19:56:39.068000000 +0000
|
|
@@ -5531,6 +5531,9 @@ void get_slabinfo(struct kmem_cache *s,
|
|
int node;
|
|
struct kmem_cache_node *n;
|
|
|
|
+ if (!jiffies)
|
|
+ printk("slabinfo\n");
|
|
+
|
|
for_each_kmem_cache_node(s, node, n) {
|
|
nr_slabs += node_nr_slabs(n);
|
|
nr_objs += node_nr_objs(n);
|