Re: [PATCH 3/6] ptrace/x86: introduce ptrace_register_breakpoint()

2013-04-29 Thread Frederic Weisbecker
On Thu, Apr 18, 2013 at 08:44:17PM +0200, Oleg Nesterov wrote: > No functional changes, preparation. > > Extract the "register breakpoint" code from ptrace_get_debugreg() > into the new/generic helper, ptrace_register_breakpoint(). It will > have more users. > > The patch also adds another

Re: [PATCH 3/6] ptrace/x86: introduce ptrace_register_breakpoint()

2013-04-29 Thread Frederic Weisbecker
On Thu, Apr 18, 2013 at 08:44:17PM +0200, Oleg Nesterov wrote: No functional changes, preparation. Extract the register breakpoint code from ptrace_get_debugreg() into the new/generic helper, ptrace_register_breakpoint(). It will have more users. The patch also adds another simple helper,

Re: [PATCH 3/6] ptrace/x86: introduce ptrace_register_breakpoint()

2013-04-18 Thread Oleg Nesterov
On 04/18, Oleg Nesterov wrote: > > No functional changes, preparation. > > Extract the "register breakpoint" code from ptrace_get_debugreg() > into the new/generic helper, ptrace_register_breakpoint(). It will > have more users. > > The patch also adds another simple helper,

[PATCH 3/6] ptrace/x86: introduce ptrace_register_breakpoint()

2013-04-18 Thread Oleg Nesterov
No functional changes, preparation. Extract the "register breakpoint" code from ptrace_get_debugreg() into the new/generic helper, ptrace_register_breakpoint(). It will have more users. The patch also adds another simple helper, ptrace_fill_bp_fields(), to factor out the arch_bp_generic_fields()

[PATCH 3/6] ptrace/x86: introduce ptrace_register_breakpoint()

2013-04-18 Thread Oleg Nesterov
No functional changes, preparation. Extract the register breakpoint code from ptrace_get_debugreg() into the new/generic helper, ptrace_register_breakpoint(). It will have more users. The patch also adds another simple helper, ptrace_fill_bp_fields(), to factor out the arch_bp_generic_fields()

Re: [PATCH 3/6] ptrace/x86: introduce ptrace_register_breakpoint()

2013-04-18 Thread Oleg Nesterov
On 04/18, Oleg Nesterov wrote: No functional changes, preparation. Extract the register breakpoint code from ptrace_get_debugreg() into the new/generic helper, ptrace_register_breakpoint(). It will have more users. The patch also adds another simple helper, ptrace_fill_bp_fields(), to