--- zzzz-none-000/linux-2.6.19.2/kernel/posix-cpu-timers.c 2007-01-10 19:10:37.000000000 +0000 +++ davinci-8020-5504/linux-2.6.19.2/kernel/posix-cpu-timers.c 2007-01-19 14:42:56.000000000 +0000 @@ -6,6 +6,7 @@ #include #include #include +#include static int check_clock(const clockid_t which_clock) { @@ -1139,6 +1140,7 @@ __group_send_sig_info(SIGKILL, SEND_SIG_PRIV, tsk); return; } + gr_learn_resource(tsk, RLIMIT_CPU, psecs, 1); if (psecs >= sig->rlim[RLIMIT_CPU].rlim_cur) { /* * At the soft limit, send a SIGXCPU every second.