kpatch/test/integration/rhel-7.7/gcc-static-local-var-2.patch
Artem Savkov 0e0cee369a test/integration: add rhel-7.7 rebased patches
Added integration-test patches rebased against rhel-7.7 GA kernel. No
conflicts, some fuzz.

Signed-off-by: Artem Savkov <asavkov@redhat.com>
2019-08-12 14:36:16 +02:00

15 lines
440 B
Diff

Index: kernel/mm/mmap.c
===================================================================
--- kernel.orig/mm/mmap.c
+++ kernel/mm/mmap.c
@@ -1716,6 +1716,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, len >> PAGE_SHIFT)) {
unsigned long nr_pages;