From: Hugh Dickins Date: Tue, 6 Jan 2009 22:40:12 +0000 (-0800) Subject: badpage: ratelimit print_bad_pte and bad_page X-Git-Tag: v2.6.29-rc1~412 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d936cf9b39b06c8d2e0d7fb5e7b4f176e18dec69;p=pandora-kernel.git badpage: ratelimit print_bad_pte and bad_page print_bad_pte() and bad_page() might each need ratelimiting - especially for their dump_stacks, almost never of interest, yet not quite dispensible. Correlating corruption across neighbouring entries can be very helpful, so allow a burst of 60 reports before keeping quiet for the remainder of that minute (or allow a steady drip of one report per second). Signed-off-by: Hugh Dickins Cc: Nick Piggin Cc: Christoph Lameter Cc: Mel Gorman Cc: Rik van Riel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed