profile: Suppress warning about large allocations when profile=1 is specified
commite5d490b252423605a77c54b2e35b10ea663763df
authorMel Gorman <mel@csn.ul.ie>
Wed, 15 Jul 2009 11:23:11 +0000 (15 12:23 +0100)
committerIngo Molnar <mingo@elte.hu>
Sat, 18 Jul 2009 10:55:28 +0000 (18 12:55 +0200)
tree3ddeee6d5a9438b399a4e5a00c9499c4880879ad
parent78af08d90b8f745044b1274430bc4bc6b2b27aca
profile: Suppress warning about large allocations when profile=1 is specified

When profile= is used, a large buffer is allocated early at
boot. This can be larger than what the page allocator can
provide so it prints a warning. However, the caller is able to
handle the situation so this patch suppresses the warning.

Signed-off-by: Mel Gorman <mel@csn.ul.ie>
Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Linux Memory Management List <linux-mm@kvack.org>
Cc: Heinz Diehl <htd@fancy-poultry.org>
Cc: David Miller <davem@davemloft.net>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Mel Gorman <mel@csn.ul.ie>
Cc: Andrew Morton <akpm@linux-foundation.org>
LKML-Reference: <1247656992-19846-3-git-send-email-mel@csn.ul.ie>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/profile.c