Messages in this thread | | | Date | Mon, 23 Apr 2012 23:25:36 +0200 | From | Oleg Nesterov <> | Subject | Re: [RFC 0/6] uprobes: kill uprobes_srcu/uprobe_srcu_id |
| |
forgot to mention,
On 04/23, Oleg Nesterov wrote: > > Just it seems to me there are to many "details" > we should discuss to make the filtering reasonable.
And so far we assumed that consumer->filter() is "stable" and never changes its mind.
Perhaps this is fine, but I am not sure. May we need need some interface to add/del the task. Probably not, but unregister + register doesn't look very convenient and can miss a hit.
> Yes, and probably this makes sense for handler_chain(). Although otoh > I do not really understand what this filter buys us at this point.
But if we change the rules so that ->filter() or ->handler() itself can return the "please remove this bp from ->mm" then perhaps it makes more sense for the filtering. Again, not sure.
Oleg.
| |