X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttng-context-need-reschedule.c;h=94efaa5c8b1c03c7bd63902133132c1b4c3aa53b;hb=eef478c9817f9525206304642f5f268c58f70ebc;hp=f29fb28da7abf635ba3349c7b7dd29e27e348edd;hpb=9f36eaed6f91d5897924b551b44d1edd8cee00e2;p=lttng-modules.git diff --git a/lttng-context-need-reschedule.c b/lttng-context-need-reschedule.c index f29fb28d..94efaa5c 100644 --- a/lttng-context-need-reschedule.c +++ b/lttng-context-need-reschedule.c @@ -68,7 +68,7 @@ int lttng_add_need_reschedule_to_ctx(struct lttng_ctx **ctx) field->record = need_reschedule_record; field->get_value = need_reschedule_get_value; lttng_context_update(*ctx); - wrapper_vmalloc_sync_all(); + wrapper_vmalloc_sync_mappings(); return 0; } EXPORT_SYMBOL_GPL(lttng_add_need_reschedule_to_ctx);