Re: [PATCH 2/3] uprobes/x86: Kill the "autask" arg of riprel_pre_xol()

From: Jim Keniston
Date: Wed Apr 30 2014 - 20:08:59 EST


On Mon, 2014-04-28 at 12:05 +0530, Srikar Dronamraju wrote:
> * Oleg Nesterov <oleg@xxxxxxxxxx> [2014-04-27 18:52:27]:
>
> > default_pre_xol_op() passes &current->utask->autask to riprel_pre_xol()
> > and this is just ugly because it still needs to load current->utask to
> > read ->vaddr.
> >
> > Remove this argument, change riprel_pre_xol() to use current->utask.
> >
> > Signed-off-by: Oleg Nesterov <oleg@xxxxxxxxxx>
>
> Acked-by: Srikar Dronamraju <srikar@xxxxxxxxxxxxxxxxxx>
>
Reviewed-by: Jim Keniston <jkenisto@xxxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/