Blame test/integration/rhel-8.0/data-new.patch
|
Packit Service |
da4517 |
diff --git a/fs/proc/meminfo.c b/fs/proc/meminfo.c
|
|
Packit Service |
da4517 |
index 2fb0484..79ead86 100644
|
|
Packit Service |
da4517 |
--- a/fs/proc/meminfo.c
|
|
Packit Service |
da4517 |
+++ b/fs/proc/meminfo.c
|
|
Packit Service |
da4517 |
@@ -30,6 +30,8 @@ static void show_val_kb(struct seq_file *m, const char *s, unsigned long num)
|
|
Packit Service |
da4517 |
seq_write(m, " kB\n", 4);
|
|
Packit Service |
da4517 |
}
|
|
Packit Service |
da4517 |
|
|
Packit Service |
da4517 |
+static int foo = 5;
|
|
Packit Service |
da4517 |
+
|
|
Packit Service |
da4517 |
static int meminfo_proc_show(struct seq_file *m, void *v)
|
|
Packit Service |
da4517 |
{
|
|
Packit Service |
da4517 |
struct sysinfo i;
|
|
Packit Service |
da4517 |
@@ -141,6 +143,7 @@ static int meminfo_proc_show(struct seq_file *m, void *v)
|
|
Packit Service |
da4517 |
show_val_kb(m, "CmaFree: ",
|
|
Packit Service |
da4517 |
global_zone_page_state(NR_FREE_CMA_PAGES));
|
|
Packit Service |
da4517 |
#endif
|
|
Packit Service |
da4517 |
+ seq_printf(m, "kpatch: %d\n", foo);
|
|
Packit Service |
da4517 |
|
|
Packit Service |
da4517 |
hugetlb_report_meminfo(m);
|
|
Packit Service |
da4517 |
|