Re: [RFC PATCH 1/2] sched: schedule balance map foundation

2013-01-14 Thread Michael Wang
Hi, Namhyung Thanks for your reply. On 01/14/2013 04:26 PM, Namhyung Kim wrote: > Hi Michael, > [snip] >> +while (sd) { >> +if (sd->flags & SD_LOAD_BALANCE) { >> +if (sd->flags & SD_BALANCE_EXEC) { >> +sbm->top_level[SBM_EXEC_TYPE

Re: [RFC PATCH 1/2] sched: schedule balance map foundation

2013-01-14 Thread Namhyung Kim
Hi Michael, On Fri, 11 Jan 2013 16:17:43 +0800, Michael Wang wrote: > In order to get rid of the complex code in select_task_rq_fair(), > approach to directly get sd on each level with proper flag is > required. > > Schedule balance map is the solution, which record the sd according > to it's flag