On Sun, Sep 13, 2015 at 04:14:16PM -0400, Tejun Heo wrote: > memcg_kmem_newpage_charge() and memcg_kmem_get_cache() are testing the > same series of conditions to decide whether to bypass kmem accounting. > Collect the tests into __memcg_kmem_bypass(). > > This is pure refactoring. > > Signed-off-by: Tejun Heo <tj@xxxxxxxxxx> Reviewed-by: Vladimir Davydov <vdavydov@xxxxxxxxxxxxx> -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>