mirror of
https://github.com/dynup/kpatch
synced 2025-01-09 14:49:28 +00:00
b6692c14d7
Kernel version: 4.4.0-53-generic
17 lines
514 B
Diff
17 lines
514 B
Diff
ensure that __cmpxchg_double_slab.isra.45 and
|
|
__cmpxchg_double_slab.isra.45.part.46 aren't correlated.
|
|
|
|
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);
|