Re: [PATCH v2 09/11] uprobes: Change prepare_uretprobe() to (try to) flush the dead frames

2015-07-10 Thread Srikar Dronamraju
* Oleg Nesterov [2015-07-07 03:23:06]: > Change prepare_uretprobe() to flush the !arch_uretprobe_is_alive() > return_instance's. This is not needed correctness-wise, but can help > to avoid the failure caused by MAX_URETPROBE_DEPTH. > > Note: in this case arch_uretprobe_is_alive() can be false p

Re: [PATCH v2 09/11] uprobes: Change prepare_uretprobe() to (try to) flush the dead frames

2015-07-07 Thread Anton Arapov
On Tue, Jul 07, 2015 at 03:23:06AM +0200, Oleg Nesterov wrote: > Change prepare_uretprobe() to flush the !arch_uretprobe_is_alive() > return_instance's. This is not needed correctness-wise, but can help > to avoid the failure caused by MAX_URETPROBE_DEPTH. > > Note: in this case arch_uretprobe_is_

[PATCH v2 09/11] uprobes: Change prepare_uretprobe() to (try to) flush the dead frames

2015-07-06 Thread Oleg Nesterov
Change prepare_uretprobe() to flush the !arch_uretprobe_is_alive() return_instance's. This is not needed correctness-wise, but can help to avoid the failure caused by MAX_URETPROBE_DEPTH. Note: in this case arch_uretprobe_is_alive() can be false positive, the stack can grow after longjmp(). Unfort