diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2018-06-08 02:07:53 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-06-08 02:34:36 +0200 |
commit | 3cadfa2b9497abbd3ae11a790d53ed51b4cf8ac5 (patch) | |
tree | 1a88684580fbdd667e08364d0421cb57ff5299e1 /LICENSES | |
parent | mm/vmpressure.c: use kstrndup instead of kmalloc+strncpy (diff) | |
download | linux-3cadfa2b9497abbd3ae11a790d53ed51b4cf8ac5.tar.xz linux-3cadfa2b9497abbd3ae11a790d53ed51b4cf8ac5.zip |
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>
Diffstat (limited to 'LICENSES')
0 files changed, 0 insertions, 0 deletions