mirror of https://github.com/dynup/kpatch
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-05-12 11:14:29.250791853 -0400
|
|
+++ src/fs/proc/meminfo.c 2020-05-12 11:15:10.778992066 -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;
|
|
}
|