]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
mm/vmpressure.c: convert to use match_string() helper
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 8 Jun 2018 00:07:53 +0000 (17:07 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 8 Jun 2018 00:34:36 +0000 (17:34 -0700)
commit3cadfa2b9497abbd3ae11a790d53ed51b4cf8ac5
tree1a88684580fbdd667e08364d0421cb57ff5299e1
parentd62ff365b812ecd7415252568c1836811b3dde02
mm/vmpressure.c: convert to use match_string() helper

The new helper returns index of the matching string in an array.  We are
going to use it here.

Link: http://lkml.kernel.org/r/20180503203206.44046-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
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/vmpressure.c