[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1322027721-23677-1-git-send-email-kosaki.motohiro@jp.fujitsu.com>
Date: Wed, 23 Nov 2011 00:55:20 -0500
From: KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>
To: unlisted-recipients:; (no To-header on input)
Cc: KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>,
Johannes Weiner <hannes@...xchg.org>,
Andrew Morton <akpm@...ux-foundation.org> (commit_signer:71/87=82%),
Mel Gorman <mgorman@...e.de> (commit_signer:39/87=45%),
Minchan Kim <minchan.kim@...il.com> (commit_signer:32/87=37%),
KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com> (commit_signer:26/87=30%),
Johannes Weiner <jweiner@...hat.com> (commit_signer:21/87=24%),
linux-mm@...ck.org (open list:MEMORY MANAGEMENT),
linux-kernel@...r.kernel.org (open list)
Subject: [PATCH] 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@...fujitsu.com>
Cc: Johannes Weiner <hannes@...xchg.org>
---
mm/vmscan.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/mm/vmscan.c b/mm/vmscan.c
index a1893c0..29d163e 100644
--- a/mm/vmscan.c
+++ b/mm/vmscan.c
@@ -3448,9 +3448,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 linux-mm@...ck.org.\n");
+ "one, please send an email to linux-mm@...ck.org.\n",
+ current->comm);
}
/*
--
1.7.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists