|
@@ -2183,6 +2183,12 @@ static int kprobes_module_callback(struct notifier_block *nb,
|
|
|
* The vaddr this probe is installed will soon
|
|
* The vaddr this probe is installed will soon
|
|
|
* be vfreed buy not synced to disk. Hence,
|
|
* be vfreed buy not synced to disk. Hence,
|
|
|
* disarming the breakpoint isn't needed.
|
|
* disarming the breakpoint isn't needed.
|
|
|
|
|
+ *
|
|
|
|
|
+ * Note, this will also move any optimized probes
|
|
|
|
|
+ * that are pending to be removed from their
|
|
|
|
|
+ * corresponding lists to the freeing_list and
|
|
|
|
|
+ * will not be touched by the delayed
|
|
|
|
|
+ * kprobe_optimizer work handler.
|
|
|
*/
|
|
*/
|
|
|
kill_kprobe(p);
|
|
kill_kprobe(p);
|
|
|
}
|
|
}
|