On Tue, Aug 20, 2019 at 03:50:55PM +0200, Peter Zijlstra wrote: > On Fri, Aug 16, 2019 at 10:12:02PM +0800, Peng Liu wrote: > > Since sched_slice() is used in high frequency, > > small change should also make sense. > > An actual Changelog would also make sense; but alas.
Thanks for your time! About the changelog, I admit that it makes little improvement to the whole, It is a so *short* function, I also don't think it can produce any visible improvement through any kernel test tools. But as you can see, the redundant intermediate operation indeed exists. There's no reason to let it exist any more - make code clear and easy to understand if possible. Best Regards, Liu