The patch titled printk: fix comment for printk ratelimiting has been removed from the -mm tree. Its filename was printk-fix-comment-for-printk-ratelimiting.patch This patch was dropped because it was merged into mainline or a subsystem tree The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: printk: fix comment for printk ratelimiting From: Uwe Kleine-König <Uwe.Kleine-Koenig@xxxxxxxx> The comment assumed the burst to be one and the ratelimit used to be named printk_ratelimit_jiffies. Signed-off-by: Uwe Kleine-König <Uwe.Kleine-Koenig@xxxxxxxx> Cc: Dave Young <hidave.darkstar@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- kernel/printk.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff -puN kernel/printk.c~printk-fix-comment-for-printk-ratelimiting kernel/printk.c --- a/kernel/printk.c~printk-fix-comment-for-printk-ratelimiting +++ a/kernel/printk.c @@ -1309,14 +1309,14 @@ void tty_write_message(struct tty_struct #if defined CONFIG_PRINTK -DEFINE_RATELIMIT_STATE(printk_ratelimit_state, 5 * HZ, 10); /* * printk rate limiting, lifted from the networking subsystem. * - * This enforces a rate limit: not more than one kernel message - * every printk_ratelimit_jiffies to make a denial-of-service - * attack impossible. + * This enforces a rate limit: not more than 10 kernel messages + * every 5s to make a denial-of-service attack impossible. */ +DEFINE_RATELIMIT_STATE(printk_ratelimit_state, 5 * HZ, 10); + int printk_ratelimit(void) { return __ratelimit(&printk_ratelimit_state); _ Patches currently in -mm which might be from Uwe.Kleine-Koenig@xxxxxxxx are origin.patch linux-next.patch genirq-better-warning-on-irqchip-set_type-failure.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html