kpatch/test/integration/rhel-8.6/gcc-static-local-var-2.patch

14 lines
468 B
Diff

diff -Nupr src.orig/mm/mmap.c src/mm/mmap.c
--- src.orig/mm/mmap.c 2022-04-29 16:08:21.599781226 -0400
+++ src/mm/mmap.c 2022-04-29 16:08:41.140850766 -0400
@@ -1714,6 +1714,9 @@ unsigned long mmap_region(struct file *f
struct rb_node **rb_link, *rb_parent;
unsigned long charged = 0;
+ if (!jiffies)
+ printk("kpatch mmap foo\n");
+
/* Check against address space limit. */
if (!may_expand_vm(mm, vm_flags, len >> PAGE_SHIFT)) {
unsigned long nr_pages;