Re: [PATCH -mm] __ratelimit rewrite

From: Dave Young
Date: Sun May 04 2008 - 22:58:51 EST


On Mon, May 5, 2008 at 10:25 AM, Joe Perches <joe@xxxxxxxxxxx> wrote:
> On Mon, 2008-05-05 at 09:37 +0800, Dave Young wrote:
> > > I think your changes should then be done in
> > > printk.h not creating a new ratelimit.h.
> >
> > IMO ratelimit is not just for printk use now, so a standalone head
> > file is necessary.
>
> What other uses would ratelimit have?

ratelimit is a general function, another user of it is
WARN_ON_RATELIMIT in this patch. It could have other usage in future.

>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/