Messages in this thread | | | Date | Tue, 06 May 2014 16:19:21 -0400 | From | Rik van Riel <> | Subject | Re: [PATCH RFC/TEST] sched: make sync affine wakeups work |
| |
On 05/06/2014 07:54 AM, Peter Zijlstra wrote: > On Fri, May 02, 2014 at 11:19:47AM -0400, Rik van Riel wrote: >> As an aside, it also looks like SD_BALANCE_WAKE is set on all domains >> of a NUMA system by default, so even the non-affine wakeup will end >> up looking for the lowest load NUMA node to start up on. > > I can't find it being set on anything by default.
.flags = 1*SD_LOAD_BALANCE | 1*SD_BALANCE_NEWIDLE | 0*SD_BALANCE_EXEC | 0*SD_BALANCE_FORK | 0*SD_BALANCE_WAKE | 0*SD_WAKE_AFFINE | 0*SD_SHARE_CPUPOWER | 0*SD_SHARE_PKG_RESOURCES | 1*SD_SERIALIZE | 0*SD_PREFER_SIBLING | 1*SD_NUMA | sd_local_flags(level)
static inline int sd_local_flags(int level) { if (sched_domains_numa_distance[level] > RECLAIM_DISTANCE) return 0;
return SD_BALANCE_EXEC | SD_BALANCE_FORK | SD_WAKE_AFFINE; }
-- All rights reversed
| |