|
@@ -825,6 +825,8 @@ static void check_thread_timers(struct task_struct *tsk,
|
|
|
* At the hard limit, we just die.
|
|
|
* No need to calculate anything else now.
|
|
|
*/
|
|
|
+ pr_info("CPU Watchdog Timeout (hard): %s[%d]\n",
|
|
|
+ tsk->comm, task_pid_nr(tsk));
|
|
|
__group_send_sig_info(SIGKILL, SEND_SIG_PRIV, tsk);
|
|
|
return;
|
|
|
}
|
|
@@ -836,8 +838,7 @@ static void check_thread_timers(struct task_struct *tsk,
|
|
|
soft += USEC_PER_SEC;
|
|
|
sig->rlim[RLIMIT_RTTIME].rlim_cur = soft;
|
|
|
}
|
|
|
- printk(KERN_INFO
|
|
|
- "RT Watchdog Timeout: %s[%d]\n",
|
|
|
+ pr_info("RT Watchdog Timeout (soft): %s[%d]\n",
|
|
|
tsk->comm, task_pid_nr(tsk));
|
|
|
__group_send_sig_info(SIGXCPU, SEND_SIG_PRIV, tsk);
|
|
|
}
|
|
@@ -935,6 +936,8 @@ static void check_process_timers(struct task_struct *tsk,
|
|
|
* At the hard limit, we just die.
|
|
|
* No need to calculate anything else now.
|
|
|
*/
|
|
|
+ pr_info("RT Watchdog Timeout (hard): %s[%d]\n",
|
|
|
+ tsk->comm, task_pid_nr(tsk));
|
|
|
__group_send_sig_info(SIGKILL, SEND_SIG_PRIV, tsk);
|
|
|
return;
|
|
|
}
|
|
@@ -942,6 +945,8 @@ static void check_process_timers(struct task_struct *tsk,
|
|
|
/*
|
|
|
* At the soft limit, send a SIGXCPU every second.
|
|
|
*/
|
|
|
+ pr_info("CPU Watchdog Timeout (soft): %s[%d]\n",
|
|
|
+ tsk->comm, task_pid_nr(tsk));
|
|
|
__group_send_sig_info(SIGXCPU, SEND_SIG_PRIV, tsk);
|
|
|
if (soft < hard) {
|
|
|
soft++;
|