diff options
Diffstat (limited to 'meta/recipes-kernel/lttng/lttng-modules/0002-Fix-missing-wrapper-rename-to-wrapper_vmalloc_sync_m.patch')
-rw-r--r-- | meta/recipes-kernel/lttng/lttng-modules/0002-Fix-missing-wrapper-rename-to-wrapper_vmalloc_sync_m.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta/recipes-kernel/lttng/lttng-modules/0002-Fix-missing-wrapper-rename-to-wrapper_vmalloc_sync_m.patch b/meta/recipes-kernel/lttng/lttng-modules/0002-Fix-missing-wrapper-rename-to-wrapper_vmalloc_sync_m.patch new file mode 100644 index 0000000000..807fe933cd --- /dev/null +++ b/meta/recipes-kernel/lttng/lttng-modules/0002-Fix-missing-wrapper-rename-to-wrapper_vmalloc_sync_m.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | From 4d1817c129310945bf0b8227ebc0fbb4f6299dc7 Mon Sep 17 00:00:00 2001 | ||
2 | From: Michael Jeanson <mjeanson@efficios.com> | ||
3 | Date: Wed, 6 May 2020 11:03:32 -0400 | ||
4 | Subject: [PATCH 2/4] Fix: missing wrapper rename to | ||
5 | wrapper_vmalloc_sync_mappings | ||
6 | |||
7 | Upstream-Status: Backport [https://github.com/lttng/lttng-modules/commit/c1ba644f2edf6a5bc030111ce4167a8798cc1053] | ||
8 | |||
9 | Signed-off-by: Michael Jeanson <mjeanson@efficios.com> | ||
10 | Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> | ||
11 | Change-Id: Idf7082a980c5a604bfef5c69906678b5083a9bbf | ||
12 | Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> | ||
13 | --- | ||
14 | wrapper/vmalloc.h | 2 +- | ||
15 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
16 | |||
17 | diff --git a/wrapper/vmalloc.h b/wrapper/vmalloc.h | ||
18 | index 54715b5..5d0b389 100644 | ||
19 | --- a/wrapper/vmalloc.h | ||
20 | +++ b/wrapper/vmalloc.h | ||
21 | @@ -216,7 +216,7 @@ void *lttng_kvmalloc_node(unsigned long size, gfp_t flags, int node) | ||
22 | * Make sure we don't trigger recursive page faults in the | ||
23 | * tracing fast path. | ||
24 | */ | ||
25 | - wrapper_vmalloc_sync_all(); | ||
26 | + wrapper_vmalloc_sync_mappings(); | ||
27 | } | ||
28 | return ret; | ||
29 | } | ||
30 | -- | ||
31 | 2.17.1 | ||
32 | |||