lkml.org 
[lkml]   [2005]   [Sep]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC PATCH] New SA_NOPRNOTIF sigaction flag
From
Date
On Tue, 27 Sep 2005 08:45:07 MDT, "Davda, Bhavesh P (Bhavesh)" said:

> Then propose an alternative way where a real-time (SCHED_FIFO/SCHED_RR)
> CPU bound application getting lots of SEGVs for normal operation doesn't

If it's RT, *and* CPU-bound, *and* tossing enough SEGV's to matter, it's a
train wreck waiting to happen. If something attaches to that locomotive
with a ptrace(), making sure that a SEGV doesn't cause a priority inversion
merely delays the wreck until the *next* thing the debugger is interested in.
What's *next*, prohibit the overhead of whatever "stop at" or "trace value"
command the debugger has? By the time you clean all of that stuff up, you're
basically left with "why bother allowing a ptrace()?".
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-09-28 01:30    [W:0.296 / U:0.776 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site