commit | a6cb3f6d51253e9cf21a38b17c025018117809d7 | [log] [tgz] |
---|---|---|
author | Oleg Nesterov <oleg@redhat.com> | Mon Dec 31 18:00:06 2012 +0100 |
committer | Oleg Nesterov <oleg@redhat.com> | Fri Feb 08 17:47:12 2013 +0100 |
tree | f0ffafefd93cb97f550b0149b14e56a68c778576 | |
parent | 5a2df662aafdabffb2cf3adb780a5adf66dfb3bc [diff] |
uprobes: Do not play with utask in xol_get_insn_slot() pre_ssout()->xol_get_insn_slot() path is confusing and buggy. This patch cleanups the code, the next one fixes the bug. Change xol_get_insn_slot() to only allocate the slot and do nothing more, move the initialization of utask->xol_vaddr/vaddr into pre_ssout(). Signed-off-by: Oleg Nesterov <oleg@redhat.com> Acked-by: Anton Arapov <anton@redhat.com> Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>