kpatch/test/integration/rhel-8.4/gcc-mangled-3.patch

14 lines
410 B
Diff

diff -Nupr src.orig/mm/slub.c src/mm/slub.c
--- src.orig/mm/slub.c 2021-04-20 11:04:27.343102165 -0400
+++ src/mm/slub.c 2021-04-20 11:04:44.205144472 -0400
@@ -5749,6 +5749,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);