On Tue, 3 Dec 2013, David Rientjes wrote: > PF_MEMPOLICY is an unnecessary optimization for CONFIG_SLAB users. > There's no significant performance degradation to checking > current->mempolicy rather than current->flags & PF_MEMPOLICY in the > allocation path, especially since this is considered unlikely(). The use of current->mempolicy increase the cache footprint since its in a rarely used cacheline. This performance issue would occur when memory policies are not used since that cacheline would then have to be touched regardless of memory policies be in effect or not. PF_MEMPOLICY was used to avoid touching the cacheline. -- To unsubscribe from this list: send the line "unsubscribe cgroups" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html