Re: [PATCH 2/4] uprobes: Introduce copy_opcode(), killread_opcode()

From: Srikar Dronamraju
Date: Sat Oct 06 2012 - 02:58:41 EST


* Oleg Nesterov <oleg@xxxxxxxxxx> [2012-09-23 22:19:48]:

> No functional changes, preparations.
>
> 1. Extract the kmap-and-memcpy code from read_opcode() into the
> new trivial helper, copy_opcode(). The next patch will add
> another user.
>
> 2. read_opcode() becomes really trivial, fold it into its single
> caller, is_swbp_at_addr().
>
> 3. Remove "auprobe" argument from write_opcode(), it is not used
> since f403072c6.
>
> Signed-off-by: Oleg Nesterov <oleg@xxxxxxxxxx>
> ---

Acked-by: Srikar Dronamraju <srikar@xxxxxxxxxxxxxxxxxx>

--
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/