Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 746a9e6b authored by Oleg Nesterov's avatar Oleg Nesterov
Browse files

uprobes: Do not setup ->active_uprobe/state prematurely



handle_swbp() sets utask->active_uprobe before handler_chain(),
and UTASK_SSTEP before pre_ssout(). This complicates the code
for no reason,  arch_ hooks or consumer->handler() should not
(and can't) use this info.

Change handle_swbp() to initialize them after pre_ssout(), and
remove the no longer needed cleanup-utask code.

Signed-off-by: default avatarOleg Nesterov <oleg@redhat.com>
cked-by: default avatarSrikar Dronamraju <srikar@linux.vnet.ibm.com>
parent 79d54b24
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment