Re: [PATCH v5 03/11] cgroup, sched: let cpu serve the same filesas cpuacct

From: Glauber Costa
Date: Tue Jan 15 2013 - 12:52:28 EST


On 01/15/2013 02:19 AM, Sha Zhengju wrote:
> On Mon, Jan 14, 2013 at 10:55 PM, Glauber Costa <glommer@xxxxxxxxxxxxx> wrote:
>> On 01/14/2013 12:34 AM, Sha Zhengju wrote:
>>>> + struct kernel_cpustat *kcpustat = this_cpu_ptr(ca->cpustat);
>>>>> +
>>>>> kcpustat = this_cpu_ptr(ca->cpustat);
>>> Is this reassignment unnecessary?
>>>
>>>
>> No.
>>
>
> No? No!
>
I misread your question as "is this reassignment necessary".
For which the answer is no: there is no reason to do it, it is just a
bad chunk.

--
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/