From: Oleg Nesterov Date: Mon, 31 Dec 2012 17:20:42 +0000 (+0100) Subject: uprobes: Do not allocate current->utask unnecessary X-Git-Tag: v3.9-rc1~173^2~2^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=608e7427c0a06de0d70374a9fd7defc8eb228b7e;p=pandora-kernel.git uprobes: Do not allocate current->utask unnecessary handle_swbp() does get_utask() before can_skip_sstep() for no reason, we do not need ->utask if can_skip_sstep() succeeds. Move get_utask() to pre_ssout() who actually starts to use it. Move the initialization of utask->active_uprobe/state as well. This way the whole initialization is consolidated in pre_ssout(). Signed-off-by: Oleg Nesterov Acked-by: Anton Arapov --- Reading git-diff-tree failed