profile: suppress warning about large allocations when profile=1 is specified
commitb62f495dad04fa94b5083aec638ff3072bccaaca
authorMel Gorman <mel@csn.ul.ie>
Wed, 29 Jul 2009 22:04:09 +0000 (29 15:04 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 30 Jul 2009 02:10:36 +0000 (29 19:10 -0700)
treed7184a5ad7d85c8b62b6697eab2969f6c1508250
parent1fc28b70fe2dbf87e061b6ce5091a1f8e4e5d4e7
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>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/profile.c