Re: [PATCH 12/14] fs/binfmt_aout.c: Use time_* macros

2008-02-14 Thread S.Çağlar Onur
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

Re: [PATCH 12/14] fs/binfmt_aout.c: Use time_* macros

2008-02-14 Thread Geert Uytterhoeven
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

[PATCH 12/14] fs/binfmt_aout.c: Use time_* macros

2008-02-14 Thread S . Çağlar Onur
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