summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2012-12-31 21:20:42 +0400
committerOleg Nesterov <oleg@redhat.com>2013-02-08 20:47:12 +0400
commit608e7427c0a06de0d70374a9fd7defc8eb228b7e (patch)
treefa9d008fc34cd270613b63bbd9fd724c563daa44 /net/lapb/lapb_in.c
parentaba51024e7159c93914557caaa2b8cda26331091 (diff)
downloadlinux-608e7427c0a06de0d70374a9fd7defc8eb228b7e.tar.xz
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 <oleg@redhat.com> Acked-by: Anton Arapov <anton@redhat.com>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions