[PATCH v1] mm: hwpoison: ratelimit messages from unpoison_memory()

2015-09-16 Thread Naoya Horiguchi
Currently kernel prints out results of every single unpoison event, which is not necessary because unpoison is purely a testing feature and testers can get little or no information from lots of lines of unpoison log storm. So this patch ratelimits printk in unpoison_memory(). This patch

[PATCH v1] mm: hwpoison: ratelimit messages from unpoison_memory()

2015-09-16 Thread Naoya Horiguchi
Currently kernel prints out results of every single unpoison event, which is not necessary because unpoison is purely a testing feature and testers can get little or no information from lots of lines of unpoison log storm. So this patch ratelimits printk in unpoison_memory(). This patch