Re: [PATCH v2] arm64: Improve kprobes test for atomic sequence

2016-09-07 Thread Masami Hiramatsu
On Wed, 7 Sep 2016 10:12:14 -0400 David Long wrote: > On 09/07/2016 01:52 AM, Masami Hiramatsu wrote: > > On Tue, 6 Sep 2016 13:54:59 -0400 > > David Long wrote: > > > >> From: "David A. Long" > >> > >> Kprobes searches

Re: [PATCH v2] arm64: Improve kprobes test for atomic sequence

2016-09-07 Thread Masami Hiramatsu
On Wed, 7 Sep 2016 10:12:14 -0400 David Long wrote: > On 09/07/2016 01:52 AM, Masami Hiramatsu wrote: > > On Tue, 6 Sep 2016 13:54:59 -0400 > > David Long wrote: > > > >> From: "David A. Long" > >> > >> Kprobes searches backwards a finite number of instructions to determine if > >> there is

Re: [PATCH v2] arm64: Improve kprobes test for atomic sequence

2016-09-07 Thread David Long
On 09/07/2016 01:52 AM, Masami Hiramatsu wrote: On Tue, 6 Sep 2016 13:54:59 -0400 David Long wrote: From: "David A. Long" Kprobes searches backwards a finite number of instructions to determine if there is an attempt to probe a load/store

Re: [PATCH v2] arm64: Improve kprobes test for atomic sequence

2016-09-07 Thread David Long
On 09/07/2016 01:52 AM, Masami Hiramatsu wrote: On Tue, 6 Sep 2016 13:54:59 -0400 David Long wrote: From: "David A. Long" Kprobes searches backwards a finite number of instructions to determine if there is an attempt to probe a load/store exclusive sequence. It stops when it hits the

Re: [PATCH v2] arm64: Improve kprobes test for atomic sequence

2016-09-06 Thread Masami Hiramatsu
On Tue, 6 Sep 2016 13:54:59 -0400 David Long wrote: > From: "David A. Long" > > Kprobes searches backwards a finite number of instructions to determine if > there is an attempt to probe a load/store exclusive sequence. It stops when > it hits the

Re: [PATCH v2] arm64: Improve kprobes test for atomic sequence

2016-09-06 Thread Masami Hiramatsu
On Tue, 6 Sep 2016 13:54:59 -0400 David Long wrote: > From: "David A. Long" > > Kprobes searches backwards a finite number of instructions to determine if > there is an attempt to probe a load/store exclusive sequence. It stops when > it hits the maximum number of instructions or a load or

[PATCH v2] arm64: Improve kprobes test for atomic sequence

2016-09-06 Thread David Long
From: "David A. Long" Kprobes searches backwards a finite number of instructions to determine if there is an attempt to probe a load/store exclusive sequence. It stops when it hits the maximum number of instructions or a load or store exclusive. However this means it can

[PATCH v2] arm64: Improve kprobes test for atomic sequence

2016-09-06 Thread David Long
From: "David A. Long" Kprobes searches backwards a finite number of instructions to determine if there is an attempt to probe a load/store exclusive sequence. It stops when it hits the maximum number of instructions or a load or store exclusive. However this means it can run up past the