lkml.org 
[lkml]   [2016]   [Jul]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH -v2 1/2] ratelimit: Extend to print suppressed messages on release

* Borislav Petkov <bp@alien8.de> wrote:

> On Fri, Jul 01, 2016 at 12:17:43PM +0200, Ingo Molnar wrote:
> > Yeah, indeed, you are right.
>
> How about this though, still:
>
> ratelimit_state_exit:
>
> if (rs->missed)
> printk(KERN_WARNING "%s: %d output lines suppressed due to ratelimiting\n",
> current->comm, rs->missed);
>
>
> I still think it is better than the "callbacks" thing as we're issuing
> it on release and there's not really a @func which callbacks we're
> limiting...

Yeah, indeed!

Thanks,

Ingo

\
 
 \ /
  Last update: 2016-07-01 13:21    [W:0.068 / U:0.384 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site