Re: [PATCH v2 repost] sched: cputime: avoid multiplication overflow(in common cases)

From: Frederic Weisbecker
Date: Thu Jan 24 2013 - 11:58:09 EST


2013/1/24 Xiaotian Feng <xtfeng@xxxxxxxxx>:
> On Thu, Jan 10, 2013 at 2:33 AM, Frederic Weisbecker <fweisbec@xxxxxxxxx> wrote:
>> --- a/kernel/sched/cputime.c
>> +++ b/kernel/sched/cputime.c
>> @@ -509,11 +509,11 @@ EXPORT_SYMBOL_GPL(vtime_account);
>> # define nsecs_to_cputime(__nsecs) nsecs_to_jiffies(__nsecs)
>> #endif
>>
>> -static cputime_t scale_utime(cputime_t utime, cputime_t rtime, cputime_t total)
>> +static cputime_t scale_utime(cputime_t stime, cputime_t rtime, cputime_t total)
>
> s/scale_utime/scale_stime.

Whoops! :-)

Thanks I'm fixing this.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/