Searched hist:dedf2c73b80b4566dfcae8ebe9ed46a38b63a1f9 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/mm/ |
H A D | mempolicy.c | diff dedf2c73b80b4566dfcae8ebe9ed46a38b63a1f9 Fri Oct 26 17:06:57 CDT 2018 zhong jiang <zhongjiang@huawei.com> mm/mempolicy.c: use match_string() helper to simplify the code
match_string() returns the index of an array for a matching string, which can be used intead of open coded implementation.
Link: http://lkml.kernel.org/r/1536988365-50310-1-git-send-email-zhongjiang@huawei.com Signed-off-by: zhong jiang <zhongjiang@huawei.com> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Acked-by: Michal Hocko <mhocko@suse.com> Cc: Vlastimil Babka <vbabka@suse.cz> Cc: Andrey Ryabinin <aryabinin@virtuozzo.com> Cc: Andrea Arcangeli <aarcange@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
|