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

2016-09-01 Thread David Long
On 08/31/2016 10:38 PM, Masami Hiramatsu wrote: Hi Dave, On Wed, 31 Aug 2016 16:52:22 -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

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

2016-08-31 Thread Masami Hiramatsu
Hi Dave, On Wed, 31 Aug 2016 16:52:22 -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 l

[PATCH] arm64: Improve kprobes test for atomic sequence

2016-08-31 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 beginning