wrapper: remove vmalloc_sync_all
[lttng-modules.git] / probes / lttng-uprobes.c
index 175c0dd9d5993ddcfb63865a6971715b6f94e504..330fae8ab827ca3fe3b3c83db7b94441eea64333 100644 (file)
@@ -20,7 +20,6 @@
 #include <wrapper/irqflags.h>
 #include <wrapper/ringbuffer/frontend_types.h>
 #include <wrapper/uprobes.h>
-#include <wrapper/vmalloc.h>
 
 static
 int lttng_uprobes_handler_pre(struct uprobe_consumer *uc, struct pt_regs *regs)
@@ -160,9 +159,6 @@ int lttng_uprobes_add_callsite(struct lttng_event *event,
                goto end;
        }
 
-       /* Ensure the memory we just allocated don't trigger page faults. */
-       wrapper_vmalloc_sync_all();
-
        uprobe_handler->event = event;
        uprobe_handler->up_consumer.handler = lttng_uprobes_handler_pre;
 
This page took 0.022803 seconds and 4 git commands to generate.