Skip to content

Commit

Permalink
vmscan: add task name to warn_scan_unevictable() messages
Browse files Browse the repository at this point in the history
If we need to know a usecase, caller program name is critical important.
Show it.

Signed-off-by: KOSAKI Motohiro <[email protected]>
Acked-by: Johannes Weiner <[email protected]>
David Rientjes <[email protected]>
Reviewed-by: Minchan Kim <[email protected]>
Reviewed-by: KAMEZAWA Hiroyuki <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
kosaki authored and torvalds committed Jan 11, 2012
1 parent f6d7e0c commit 25bd91b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mm/vmscan.c
Original file line number Diff line number Diff line change
Expand Up @@ -3436,9 +3436,10 @@ void scan_mapping_unevictable_pages(struct address_space *mapping)
static void warn_scan_unevictable_pages(void)
{
printk_once(KERN_WARNING
"The scan_unevictable_pages sysctl/node-interface has been "
"%s: The scan_unevictable_pages sysctl/node-interface has been "
"disabled for lack of a legitimate use case. If you have "
"one, please send an email to [email protected].\n");
"one, please send an email to [email protected].\n",
current->comm);
}

/*
Expand Down

0 comments on commit 25bd91b

Please sign in to comment.