From: Oleg Nesterov Date: Fri, 23 Nov 2012 18:43:50 +0000 (+0100) Subject: uprobes: _unregister() should always do register_for_each_vma(false) X-Git-Tag: v3.9-rc1~173^2~2^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04aab9b2006bbdeff78dc162f206fdfebeca97d9;p=pandora-kernel.git uprobes: _unregister() should always do register_for_each_vma(false) uprobe_unregister() removes the breakpoints only if the last consumer goes away. To support the filtering it should do this every time, we want to remove the breakpoints which nobody else want to keep. Note: given that filter_chain() is not actually implemented, this patch itself doesn't change the behaviour yet, register_for_each_vma(false) is a heavy "nop" unless there are no more consumers. Signed-off-by: Oleg Nesterov Acked-by: Srikar Dronamraju --- Reading git-diff-tree failed