Re: [PATCH v5 3.1.0-rc4-tip 12/26] Uprobes: Handle breakpoint andSinglestep

From: Peter Zijlstra
Date: Mon Sep 26 2011 - 10:00:11 EST


On Tue, 2011-09-20 at 17:32 +0530, Srikar Dronamraju wrote:
> Hence provide some extra
> + * time (by way of synchronize_sched() for breakpoint hit threads to acquire
> + * the uprobes_treelock before the uprobe is removed from the rbtree.

'Some extra time' doesn't make me all warm an fuzzy inside, but instead
screams we fudge around a race condition.

ISTR raising this before ;-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/