commit | 9b7a814327a314c56c0e68654c76d99bd2938084 | [log] [tgz] |
---|---|---|
author | Tim Chen <tim.c.chen@linux.intel.com> | Wed May 03 14:54:48 2017 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed May 03 15:52:10 2017 -0700 |
tree | bb960ea71be69691b4ff1280fea4d4e93e3e9174 | |
parent | 9927e3887642b976d9b391cd77d71388aa521e54 [diff] |
mm/swap_slots.c: add warning if swap slots cache failed to initialize Add a warning diagnostics to user if we failed to allocate swap slots cache and use it. [akpm@linux-foundation.org: use WARN_ONCE return value, fix grammar in message] Link: http://lkml.kernel.org/r/20170328234827.GA10107@linux.intel.com Signed-off-by: Tim Chen <tim.c.chen@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>