]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - kernel/trace/trace_events_filter.c
Merge branch 'for-5.1/libnvdimm' into libnvdimm-for-next
[linux.git] / kernel / trace / trace_events_filter.c
index 5574e862de8d52de579cdaac347891e82dd2548b..27821480105e6fc86ef3d75a4d4abaf7a1fa0e69 100644 (file)
@@ -1616,7 +1616,7 @@ static int process_system_preds(struct trace_subsystem_dir *dir,
 
        /*
         * The calls can still be using the old filters.
-        * Do a synchronize_sched() and to ensure all calls are
+        * Do a synchronize_rcu() and to ensure all calls are
         * done with them before we free them.
         */
        tracepoint_synchronize_unregister();
@@ -1848,7 +1848,7 @@ int apply_subsystem_event_filter(struct trace_subsystem_dir *dir,
        if (filter) {
                /*
                 * No event actually uses the system filter
-                * we can free it without synchronize_sched().
+                * we can free it without synchronize_rcu().
                 */
                __free_filter(system->filter);
                system->filter = filter;