21 Mar, 2016

1 commit

  • - Use for() instead of while() loop in some functions
    to make the code simpler.

    - Use this_cpu_ptr() instead of per_cpu_ptr() to make the code
    cleaner and a bit faster.

    Suggested-by: Peter Zijlstra
    Signed-off-by: Zhao Lei
    Signed-off-by: Peter Zijlstra (Intel)
    Cc: Linus Torvalds
    Cc: Tejun Heo
    Cc: Thomas Gleixner
    Link: http://lkml.kernel.org/r/d8a7ef9592f55224630cb26dea239f05b6398a4e.1458187654.git.zhaolei@cn.fujitsu.com
    Signed-off-by: Ingo Molnar

    Zhao Lei
     

10 Apr, 2013

7 commits