Merge pull request #992 from jpoimboe/remove-overlapping-integration-test

Remove convert-global-local integration test
This commit is contained in:
Joe Lawrence 2019-07-08 09:26:35 -04:00 committed by GitHub
commit 061b079c33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 16 deletions

View File

@ -1,16 +0,0 @@
This is a test for #658: a kernel panic seen when patching an exported
function (e.g., kmalloc) which is used by patch_init().
---
diff -Nupr src.orig/mm/slub.c src/mm/slub.c
--- src.orig/mm/slub.c 2017-11-17 15:58:51.157211972 -0500
+++ src/mm/slub.c 2017-11-17 15:58:56.808211972 -0500
@@ -3731,6 +3731,9 @@ void *__kmalloc(size_t size, gfp_t flags
struct kmem_cache *s;
void *ret;
+ if (!jiffies)
+ printk("kpatch kmalloc\n");
+
if (unlikely(size > KMALLOC_MAX_CACHE_SIZE))
return kmalloc_large(size, flags);