14 Şub 2008 Per tarihinde, Geert Uytterhoeven şunları yazmıştı:
> To me these constructs look like good candidates for replacement by
> printk_ratelimit()?
>
> Gr{oetje,eeting}s,
What about something like following?
Use printk_ratelimit() instead of jiffies based arithmetic, suggested by Geert
On Thu, 14 Feb 2008, S.�~Ga�~_lar Onur wrote:
> The functions time_before, time_before_eq, time_after, and time_after_eq are
> more robust for comparing jiffies against other values.
>
> So following patch implements usage of the time_after() macro, defined at
> linux/jiffies.h, which deals with
The functions time_before, time_before_eq, time_after, and time_after_eq are
more robust for comparing jiffies against other values.
So following patch implements usage of the time_after() macro, defined at
linux/jiffies.h, which deals with wrapping correctly
Cc: [EMAIL PROTECTED]
Signed-off-by
3 matches
Mail list logo