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

14 lines
468 B
Diff
Raw Normal View History

diff -Nupr src.orig/mm/mmap.c src/mm/mmap.c
--- src.orig/mm/mmap.c 2023-04-24 14:22:43.562960379 -0400
+++ src/mm/mmap.c 2023-04-24 14:23:15.352070162 -0400
@@ -1701,6 +1701,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;