diff -Nupr src.orig/mm/mmap.c src/mm/mmap.c --- src.orig/mm/mmap.c 2021-04-20 11:04:27.341102160 -0400 +++ src/mm/mmap.c 2021-04-20 11:04:46.880151184 -0400 @@ -1690,6 +1690,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;