Messages in this thread | | | From | Joonsoo Kim <> | Subject | [PATCH v2 0/3] optimization, clean-up about fair.c | Date | Fri, 2 Aug 2013 10:50:20 +0900 |
| |
Patch 1 is for removing one division operation with multiplication. Patch 2,3 is for clean-up related to load_balance(), there is improvement in terms of code size and readability may be also improved.
Feel free to give a comment for this patchset.
It's tested on v3.10. On v3.11-rc3, it can be compiled properly.
* Change from v1 Remove 2 patches, because I cannot sure they are right.
Joonsoo Kim (3): sched: remove one division operation in find_buiest_queue() sched: factor out code to should_we_balance() sched: clean-up struct sd_lb_stat
kernel/sched/fair.c | 326 +++++++++++++++++++++++++-------------------------- 1 file changed, 161 insertions(+), 165 deletions(-)
-- 1.7.9.5
| |