Messages in this thread | | | Date | Thu, 7 May 2015 16:49:03 +0530 | From | Srikar Dronamraju <> | Subject | Re: [PATCH 09/10] uprobes: Change prepare_uretprobe() to (try to) flush the dead frames |
| |
* Oleg Nesterov <oleg@redhat.com> [2015-05-04 14:49:22]:
> 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(). Unfortunately, the kernel can't > 100% solve this problem, but see the next patch. > > Signed-off-by: Oleg Nesterov <oleg@redhat.com> > --- > kernel/events/uprobes.c | 13 +++++++++++++
Looks good to me.
Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com> -- Thanks and Regards Srikar Dronamraju
| |