mirror of
https://github.com/dynup/kpatch
synced 2025-02-16 17:57:02 +00:00
Rebased against kernel-3.10.0-1160.el7. data-read-mostly.patch.disabled remains disabled as we hit several build errors like: "Found a jump label at __netif_receive_skb_core()+0x50, using key netstamp_needed. Jump labels aren't supported with this kernel. Use static_key_enabled() instead." Signed-off-by: Joe Lawrence <joe.lawrence@redhat.com>
14 lines
388 B
Diff
14 lines
388 B
Diff
diff -Nupr src.orig/mm/slub.c src/mm/slub.c
|
|
--- src.orig/mm/slub.c 2020-09-03 11:48:30.747726905 -0400
|
|
+++ src/mm/slub.c 2020-09-03 11:48:41.106759312 -0400
|
|
@@ -5716,6 +5716,9 @@ void get_slabinfo(struct kmem_cache *s,
|
|
unsigned long nr_free = 0;
|
|
int node;
|
|
|
|
+ if (!jiffies)
|
|
+ printk("slabinfo\n");
|
|
+
|
|
for_each_online_node(node) {
|
|
struct kmem_cache_node *n = get_node(s, node);
|
|
|