<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/kernel/sched/cpuacct.h, branch v4.4</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v4.4</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v4.4'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2013-04-10T11:54:20Z</updated>
<entry>
<title>sched/cpuacct: Initialize root cpuacct earlier</title>
<updated>2013-04-10T11:54:20Z</updated>
<author>
<name>Li Zefan</name>
<email>lizefan@huawei.com</email>
</author>
<published>2013-03-29T06:44:04Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=14c6d3c8a47ced185b6375c4940b5b393f1a294e'/>
<id>urn:sha1:14c6d3c8a47ced185b6375c4940b5b393f1a294e</id>
<content type='text'>
Now we don't need cpuacct_init(), and instead we just initialize
root_cpuacct when it's defined.

Signed-off-by: Li Zefan &lt;lizefan@huawei.com&gt;
Cc: Tejun Heo &lt;tj@kernel.org&gt;
Acked-by: Peter Zijlstra &lt;peterz@infradead.org&gt;
Link: http://lkml.kernel.org/r/51553834.9090701@huawei.com
Signed-off-by: Ingo Molnar &lt;mingo@kernel.org&gt;
</content>
</entry>
<entry>
<title>sched/cpuacct: Clean up cpuacct.h</title>
<updated>2013-04-10T11:54:19Z</updated>
<author>
<name>Li Zefan</name>
<email>lizefan@huawei.com</email>
</author>
<published>2013-03-29T06:38:13Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=d1712796a880bea0a44739941116001923f3275b'/>
<id>urn:sha1:d1712796a880bea0a44739941116001923f3275b</id>
<content type='text'>
Now most of the code in cpuacct.h can be moved to cpuacct.c

Signed-off-by: Li Zefan &lt;lizefan@huawei.com&gt;
Acked-by: Peter Zijlstra &lt;peterz@infradead.org&gt;
Link: http://lkml.kernel.org/r/515536D5.2080401@huawei.com
Signed-off-by: Ingo Molnar &lt;mingo@kernel.org&gt;
</content>
</entry>
<entry>
<title>sched/cpuacct: Remove redundant NULL checks in cpuacct_acount_field()</title>
<updated>2013-04-10T11:54:18Z</updated>
<author>
<name>Li Zefan</name>
<email>lizefan@huawei.com</email>
</author>
<published>2013-03-29T06:37:43Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=5f40d804325e925409907e29f46ecb012090b6c2'/>
<id>urn:sha1:5f40d804325e925409907e29f46ecb012090b6c2</id>
<content type='text'>
This is a micro optimazation for a hot path.

- We don't need to check if @ca returned from task_ca() is NULL.
- We don't need to check if @ca returned from parent_ca() is NULL.

Signed-off-by: Li Zefan &lt;lizefan@huawei.com&gt;
Acked-by: Peter Zijlstra &lt;peterz@infradead.org&gt;
Link: http://lkml.kernel.org/r/515536B7.6060602@huawei.com
Signed-off-by: Ingo Molnar &lt;mingo@kernel.org&gt;
</content>
</entry>
<entry>
<title>sched/cpuacct: Remove redundant NULL checks in cpuacct_charge()</title>
<updated>2013-04-10T11:54:18Z</updated>
<author>
<name>Li Zefan</name>
<email>lizefan@huawei.com</email>
</author>
<published>2013-03-29T06:37:29Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=543bc0e76e6bb84300eaf9833edc5a481f788678'/>
<id>urn:sha1:543bc0e76e6bb84300eaf9833edc5a481f788678</id>
<content type='text'>
This is a micro optimization for the hot path.

- We don't need to check if @ca is NULL in parent_ca().
- We don't need to check if @ca is NULL in the beginning of the for loop.

Signed-off-by: Li Zefan &lt;lizefan@huawei.com&gt;
Acked-by: Peter Zijlstra &lt;peterz@infradead.org&gt;
Link: http://lkml.kernel.org/r/515536A9.5000700@huawei.com
Signed-off-by: Ingo Molnar &lt;mingo@kernel.org&gt;
</content>
</entry>
<entry>
<title>sched/cpuacct: Add cpuacct_acount_field()</title>
<updated>2013-04-10T11:54:17Z</updated>
<author>
<name>Li Zefan</name>
<email>lizefan@huawei.com</email>
</author>
<published>2013-03-29T06:37:06Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=1966aaf7d54608e8ddb7ac454b461840e763409a'/>
<id>urn:sha1:1966aaf7d54608e8ddb7ac454b461840e763409a</id>
<content type='text'>
So we can remove open-coded cpuacct code in cputime.c.

Signed-off-by: Li Zefan &lt;lizefan@huawei.com&gt;
Acked-by: Peter Zijlstra &lt;peterz@infradead.org&gt;
Link: http://lkml.kernel.org/r/51553692.9060008@huawei.com
Signed-off-by: Ingo Molnar &lt;mingo@kernel.org&gt;
</content>
</entry>
<entry>
<title>sched/cpuacct: Add cpuacct_init()</title>
<updated>2013-04-10T11:54:16Z</updated>
<author>
<name>Li Zefan</name>
<email>lizefan@huawei.com</email>
</author>
<published>2013-03-29T06:36:55Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=dbe4b41f9800223949ce72e4289814697e0ea91a'/>
<id>urn:sha1:dbe4b41f9800223949ce72e4289814697e0ea91a</id>
<content type='text'>
So we don't open-coded initialization of cpuacct in core.c.

Signed-off-by: Li Zefan &lt;lizefan@huawei.com&gt;
Acked-by: Peter Zijlstra &lt;peterz@infradead.org&gt;
Link: http://lkml.kernel.org/r/51553687.1060906@huawei.com
Signed-off-by: Ingo Molnar &lt;mingo@kernel.org&gt;
</content>
</entry>
<entry>
<title>sched: Split cpuacct code out of sched.h</title>
<updated>2013-04-10T11:54:16Z</updated>
<author>
<name>Li Zefan</name>
<email>lizefan@huawei.com</email>
</author>
<published>2013-03-29T06:36:43Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=60fed7891d4115be0ed7ff9ce6851eda80533c64'/>
<id>urn:sha1:60fed7891d4115be0ed7ff9ce6851eda80533c64</id>
<content type='text'>
Add cpuacct.h and let sched.h include it.

Signed-off-by: Li Zefan &lt;lizefan@huawei.com&gt;
Acked-by: Peter Zijlstra &lt;peterz@infradead.org&gt;
Link: http://lkml.kernel.org/r/5155367B.2060506@huawei.com
Signed-off-by: Ingo Molnar &lt;mingo@kernel.org&gt;
</content>
</entry>
</feed>
