diff options
author | KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> | 2012-01-10 18:07:40 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-10 19:30:43 -0500 |
commit | 25bd91bd27820d5971258cecd1c0e64b0e485144 (patch) | |
tree | dab03e7e19132c6e630d9e65baa125d60825bbd9 /mm/vmscan.c | |
parent | f6d7e0cb3ecc248e98fa11d83253f6174bd7e085 (diff) |
vmscan: add task name to warn_scan_unevictable() messages
If we need to know a usecase, caller program name is critical important.
Show it.
Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
David Rientjes <rientjes@google.com>
Reviewed-by: Minchan Kim <minchan.kim@gmail.com>
Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/vmscan.c')
-rw-r--r-- | mm/vmscan.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mm/vmscan.c b/mm/vmscan.c index 3d571df41c79..974162c80edb 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c | |||
@@ -3436,9 +3436,10 @@ void scan_mapping_unevictable_pages(struct address_space *mapping) | |||
3436 | static void warn_scan_unevictable_pages(void) | 3436 | static void warn_scan_unevictable_pages(void) |
3437 | { | 3437 | { |
3438 | printk_once(KERN_WARNING | 3438 | printk_once(KERN_WARNING |
3439 | "The scan_unevictable_pages sysctl/node-interface has been " | 3439 | "%s: The scan_unevictable_pages sysctl/node-interface has been " |
3440 | "disabled for lack of a legitimate use case. If you have " | 3440 | "disabled for lack of a legitimate use case. If you have " |
3441 | "one, please send an email to linux-mm@kvack.org.\n"); | 3441 | "one, please send an email to linux-mm@kvack.org.\n", |
3442 | current->comm); | ||
3442 | } | 3443 | } |
3443 | 3444 | ||
3444 | /* | 3445 | /* |