Re: [PATCH v6 3/6] Uprobes: Support SDT markers having reference count (semaphore)

From: Oleg Nesterov
Date: Fri Jul 27 2018 - 09:59:36 EST


On 07/24, Ravi Bangoria wrote:
>
> > Perhaps we can even add another flag later, MMF_HAS_DELAYED_UPROBES set by
> > delayed_uprobe_add().
>
> Yes, good idea.

But let me repeat, lets do this later. We can do even better I think, say,
move this delaed-list into uprobes_state. But imo the 1st version can just
check MMF_HAS_UPROBES because this is simple, obviously correct, and can
actually help.

Oleg.