summaryrefslogtreecommitdiffstats
path: root/kernel/time/posix-cpu-timers.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/time/posix-cpu-timers.c')
-rw-r--r--kernel/time/posix-cpu-timers.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/kernel/time/posix-cpu-timers.c b/kernel/time/posix-cpu-timers.c
index 4513ad16a253..76bea3a47d4b 100644
--- a/kernel/time/posix-cpu-timers.c
+++ b/kernel/time/posix-cpu-timers.c
@@ -825,6 +825,8 @@ static void check_thread_timers(struct task_struct *tsk,
825 * At the hard limit, we just die. 825 * At the hard limit, we just die.
826 * No need to calculate anything else now. 826 * No need to calculate anything else now.
827 */ 827 */
828 pr_info("CPU Watchdog Timeout (hard): %s[%d]\n",
829 tsk->comm, task_pid_nr(tsk));
828 __group_send_sig_info(SIGKILL, SEND_SIG_PRIV, tsk); 830 __group_send_sig_info(SIGKILL, SEND_SIG_PRIV, tsk);
829 return; 831 return;
830 } 832 }
@@ -836,8 +838,7 @@ static void check_thread_timers(struct task_struct *tsk,
836 soft += USEC_PER_SEC; 838 soft += USEC_PER_SEC;
837 sig->rlim[RLIMIT_RTTIME].rlim_cur = soft; 839 sig->rlim[RLIMIT_RTTIME].rlim_cur = soft;
838 } 840 }
839 printk(KERN_INFO 841 pr_info("RT Watchdog Timeout (soft): %s[%d]\n",
840 "RT Watchdog Timeout: %s[%d]\n",
841 tsk->comm, task_pid_nr(tsk)); 842 tsk->comm, task_pid_nr(tsk));
842 __group_send_sig_info(SIGXCPU, SEND_SIG_PRIV, tsk); 843 __group_send_sig_info(SIGXCPU, SEND_SIG_PRIV, tsk);
843 } 844 }
@@ -935,6 +936,8 @@ static void check_process_timers(struct task_struct *tsk,
935 * At the hard limit, we just die. 936 * At the hard limit, we just die.
936 * No need to calculate anything else now. 937 * No need to calculate anything else now.
937 */ 938 */
939 pr_info("RT Watchdog Timeout (hard): %s[%d]\n",
940 tsk->comm, task_pid_nr(tsk));
938 __group_send_sig_info(SIGKILL, SEND_SIG_PRIV, tsk); 941 __group_send_sig_info(SIGKILL, SEND_SIG_PRIV, tsk);
939 return; 942 return;
940 } 943 }
@@ -942,6 +945,8 @@ static void check_process_timers(struct task_struct *tsk,
942 /* 945 /*
943 * At the soft limit, send a SIGXCPU every second. 946 * At the soft limit, send a SIGXCPU every second.
944 */ 947 */
948 pr_info("CPU Watchdog Timeout (soft): %s[%d]\n",
949 tsk->comm, task_pid_nr(tsk));
945 __group_send_sig_info(SIGXCPU, SEND_SIG_PRIV, tsk); 950 __group_send_sig_info(SIGXCPU, SEND_SIG_PRIV, tsk);
946 if (soft < hard) { 951 if (soft < hard) {
947 soft++; 952 soft++;