lkml.org 
[lkml]   [2005]   [Sep]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRE: [RFC PATCH] New SA_NOPRNOTIF sigaction flag
Date
From
> Yes, I entirely understand what you're saying.  I feel like you're not
> reading my responses. GDB _already has a list of signals it does not
> care about_. If ptrace permitted, it could tell the kernel not to
> context switch to deliver those signals. In advance! That's a
> debugger-driven solution to your problem.
>
> I'm not arguing out of theory here. I've implemented this mechanism
> before in other contexts, for instance to prevent the remote protocol
> overhead for ignored signals when using gdb with gdbserver.
>


Okay, I'll come up with an alternative patch that enhances the ptrace
interface so the debugger can guide the kernel to NOT context switch and
bother it about signal x from task y.

Would you be amenable to such a patch?

Thanks

- Bhavesh
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-09-28 20:09    [W:0.037 / U:0.280 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site