mirror of
https://github.com/dynup/kpatch
synced 2025-01-26 23:02:51 +00:00
20 lines
621 B
Diff
20 lines
621 B
Diff
|
diff -Nupr src.orig/fs/proc/meminfo.c src/fs/proc/meminfo.c
|
||
|
--- src.orig/fs/proc/meminfo.c 2020-03-17 01:12:55.155895808 -0400
|
||
|
+++ src/fs/proc/meminfo.c 2020-03-17 01:13:28.655446767 -0400
|
||
|
@@ -41,6 +41,7 @@ static int meminfo_proc_show(struct seq_
|
||
|
unsigned long sreclaimable, sunreclaim;
|
||
|
int lru;
|
||
|
|
||
|
+ printk("a\n");
|
||
|
si_meminfo(&i);
|
||
|
si_swapinfo(&i);
|
||
|
committed = percpu_counter_read_positive(&vm_committed_as);
|
||
|
@@ -153,6 +154,7 @@ static int meminfo_proc_show(struct seq_
|
||
|
|
||
|
static int __init proc_meminfo_init(void)
|
||
|
{
|
||
|
+ printk("a\n");
|
||
|
proc_create_single("meminfo", 0, NULL, meminfo_proc_show);
|
||
|
return 0;
|
||
|
}
|