[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAFTL4hzhdXkh2cy_iCr1iQJ5boJ=k1D61s+Z48YUk-JuENG7cw@mail.gmail.com>
Date: Thu, 24 Jan 2013 17:58:20 +0100
From: Frederic Weisbecker <fweisbec@...il.com>
To: Xiaotian Feng <xtfeng@...il.com>
Cc: Stanislaw Gruszka <sgruszka@...hat.com>,
Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...hat.com>, linux-kernel@...r.kernel.org,
Oleg Nesterov <oleg@...hat.com>, akpm@...ux-foundation.org,
Steven Rostedt <rostedt@...dmis.org>
Subject: Re: [PATCH v2 repost] sched: cputime: avoid multiplication overflow
(in common cases)
2013/1/24 Xiaotian Feng <xtfeng@...il.com>:
> On Thu, Jan 10, 2013 at 2:33 AM, Frederic Weisbecker <fweisbec@...il.com> 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists