mirror of
https://github.com/dynup/kpatch
synced 2025-01-05 20:49:26 +00:00
0da57e8807
Fix the mangled function strcmp so that it compares all of the string except for the numbered parts. foo.isra.35 should match foo.isra.1, but not foo.isra.35.part.36. Fixes #352.
15 lines
361 B
Diff
15 lines
361 B
Diff
Index: src/mm/slub.c
|
|
===================================================================
|
|
--- src.orig/mm/slub.c
|
|
+++ src/mm/slub.c
|
|
@@ -5346,6 +5346,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);
|
|
|