projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix: __lttng_vmalloc_node_range const caller introduced in v3.6
[lttng-modules.git]
/
lib
/
ringbuffer
/
ring_buffer_backend.c
diff --git
a/lib/ringbuffer/ring_buffer_backend.c
b/lib/ringbuffer/ring_buffer_backend.c
index d4bec25ff956bfc21bc9c184b8230ca2963cbabc..d232b7f23e0915f3467b1450f205eb2a479a11a2 100644
(file)
--- a/
lib/ringbuffer/ring_buffer_backend.c
+++ b/
lib/ringbuffer/ring_buffer_backend.c
@@
-17,7
+17,7
@@
#include <linux/vmalloc.h>
#include <wrapper/mm.h>
#include <linux/vmalloc.h>
#include <wrapper/mm.h>
-#include <wrapper/vmalloc.h> /* for wrapper_vmalloc_sync_
all
() */
+#include <wrapper/vmalloc.h> /* for wrapper_vmalloc_sync_
mappings
() */
#include <wrapper/ringbuffer/config.h>
#include <wrapper/ringbuffer/backend.h>
#include <wrapper/ringbuffer/frontend.h>
#include <wrapper/ringbuffer/config.h>
#include <wrapper/ringbuffer/backend.h>
#include <wrapper/ringbuffer/frontend.h>
@@
-156,7
+156,7
@@
int lib_ring_buffer_backend_allocate(const struct lib_ring_buffer_config *config
* If kmalloc ever uses vmalloc underneath, make sure the buffer pages
* will not fault.
*/
* If kmalloc ever uses vmalloc underneath, make sure the buffer pages
* will not fault.
*/
- wrapper_vmalloc_sync_
all
();
+ wrapper_vmalloc_sync_
mappings
();
wrapper_clear_current_oom_origin();
vfree(pages);
return 0;
wrapper_clear_current_oom_origin();
vfree(pages);
return 0;
This page took
0.024615 seconds
and
4
git commands to generate.