kpatch/test/integration/rhel-8.10/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 2024-04-18 14:12:03.628374767 -0400
+++ src/mm/mmap.c 2024-04-18 14:12:25.958326236 -0400
@@ -1691,6 +1691,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;