On Mon, 4 Nov 2013 15:38:13 +0100, Oleg Nesterov wrote: > On 11/04, Namhyung Kim wrote: >> >> On Sun, 3 Nov 2013 21:20:37 +0100, Oleg Nesterov wrote: >> > >> > But. Perhaps it makes sense to at least add a couple of trivial >> > helpers in 10/13? Something like arg_buf_get/put/init, just to >> > simplify the potential changes. >> >> Good idea. How about something like below? > > Thanks, I agree with any implementation ;) > >> static DEFINE_MUTEX(uprobe_buffer_mutex); > > but see my previous email, afaics we don't need it.
I see. Probably checking the event_mutex is locked in front of the _enable/disable function would be enough. Thanks, Namhyung -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/