]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mm: workingset: #define radix entry eviction mask
authorJohannes Weiner <hannes@cmpxchg.org>
Tue, 15 Mar 2016 21:57:07 +0000 (14:57 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 15 Mar 2016 23:55:16 +0000 (16:55 -0700)
commit689c94f03ae251181725fe853b4ffc870f05c7fe
tree8bdb481bfce6e505d3b31ce6e6802ffc886f1df3
parent81f8c3a461d16f0355ced3d56d6d1bb5923207a1
mm: workingset: #define radix entry eviction mask

This is a compile-time constant, no need to calculate it on refault.

Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Reviewed-by: Vladimir Davydov <vdavydov@virtuozzo.com>
Cc: Michal Hocko <mhocko@suse.cz>
Cc: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/workingset.c