Hi, > I would not say this is a bug but let me repeat, no need to convince me. > > Please feel free to re-send the patch(es) I sent to maintainers. Sorry, > I can't push these changes into Linus's tree. So here again is the patch that I need so badly - clearly it fixes a bug and harms nobody: ----------------------------------------------------------------------- diff -Naur before/arch/x86/kernel/hw_breakpoint.c after/arch/x86/kernel/hw_breakpoint.c --- before/arch/x86/kernel/hw_breakpoint.c 2013-01-14 12:45:20.000000000 +1030 +++ after/arch/x86/kernel/hw_breakpoint.c 2013-01-14 12:46:24.000000000 +1030 @@ -200,7 +200,8 @@ va = info->address; len = get_hbp_len(info->len); - return (va >= TASK_SIZE) && ((va + len - 1) >= TASK_SIZE); + return (va >= TASK_SIZE) && ((va + len - 1) >= TASK_SIZE) && + !((va >= VSYSCALL_START) && ((va + len - 1) <= VSYSCALL_END)); } int arch_bp_generic_fields(int x86_len, int x86_type, ----------------------------------------------------------------------- Where else can I send it? Amnon. > On 01/10, u3557@miso.sublimeip.com wrote: >> >> Hi Everyone, >> >> > On 01/08, Pedro Alves wrote: >> >> >> >> On 12/04/2012 05:59 PM, Oleg Nesterov wrote: >> >> >> >> > But If we want to allow to trace vsyscall's, hw bp doesn't look >> very >> >> > nice imo. HBP_NUM = 4 and you need to setup 3 bp's to trace them >> all. >> >> >> >> Irrespective of the whole syscall tracing issue, allowing HW bkpts in >> >> the vsyscall just seems like a bug fix to me. >> > >> > And I never argued. I sent the patch iirc ;) >> >> Exactly, it is a bug and I am still waiting for it to be fixed in the >> Linux kernel. > > I would not say this is a bug but let me repeat, no need to convince me. > > Please feel free to re-send the patch(es) I sent to maintainers. Sorry, > I can't push these changes into Linus's tree. > > Oleg. > >