On Wed, Jun 10, 2015 at 12:33:35PM +0530, Srikar Dronamraju wrote: > The current load balancer may not try to prevent a task from moving out > of a preferred node to a less preferred node. The reason for this being: > > - Since sched features NUMA and NUMA_RESIST_LOWER are disabled by > default, migrate_degrades_locality() always returns false. > > - Even if NUMA_RESIST_LOWER were to be enabled, if its cache hot, > migrate_degrades_locality() never gets called. > > The above behaviour can mean that tasks can move out of their preferred > node but they may be eventually be brought back to their preferred node > by numa balancer (due to higher numa faults). > > To avoid the above, this commit merges migrate_degrades_locality() and > migrate_improves_locality(). It also replaces 3 sched features NUMA, > NUMA_FAVOUR_HIGHER and NUMA_RESIST_LOWER by a single sched feature NUMA. >
Does not apply. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/