commit | 859f7ef142a956676cb387b90f18e2e71e959c68 | [log] [tgz] |
---|---|---|
author | Zhihui Zhang <zzhsuny@gmail.com> | Thu Dec 18 16:17:09 2014 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Dec 18 19:08:10 2014 -0800 |
tree | 3ab6951a0023b6dafa27be536cb181fcabd89c1e | |
parent | 44e8967d591686463e84a88b46b03beba3ab49fb [diff] |
mm/mempolicy.c: remove unnecessary is_valid_nodemask() When nodes is true, nsc->mask2 has already been filtered by nsc->mask1, which has already factored in node_states[N_MEMORY]. Signed-off-by: Zhihui Zhang <zzhsuny@gmail.com> Cc: Mel Gorman <mel@csn.ul.ie> Cc: Oleg Nesterov <oleg@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>