]> sourceware.org Git - systemtap.git/commitdiff
2007-08-31 Martin Hunt <hunt@redhat.com>
authorhunt <hunt>
Fri, 31 Aug 2007 13:58:49 +0000 (13:58 +0000)
committerhunt <hunt>
Fri, 31 Aug 2007 13:58:49 +0000 (13:58 +0000)
* mainloop.c (start_cmd): Set the priority to
forked processes back to normal.

runtime/staprun/ChangeLog
runtime/staprun/mainloop.c

index a7b0e87b335930f61d8b975fccdbb9cd9613e489..533e2658df1f60df8d85f9d9d76b29949df7b61b 100644 (file)
@@ -1,3 +1,8 @@
+2007-08-31  Martin Hunt  <hunt@redhat.com>
+
+       * mainloop.c (start_cmd): Set the priority to
+       forked processes back to normal.
+
 2007-08-21  Martin Hunt  <hunt@redhat.com>
 
        * mainloop.c (start_cmd): Send SIGINT to target_cmd, 
index 5072182e143ca91ee32794872ee78e33f54d01e8..47768e8be90a6edd1a426a361727459848bc366f 100644 (file)
@@ -85,6 +85,9 @@ void start_cmd(void)
                a.sa_handler = SIG_DFL;
                sigaction(SIGINT, &a, NULL);
 
+               /* commands we fork need to run at normal priority */
+               setpriority (PRIO_PROCESS, 0, 0);
+               
                /* wait here until signaled */
                sigwait(&usrset, &signum);
 
This page took 0.030726 seconds and 5 git commands to generate.