[lkml]   [2009]   [May]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH V2 0/3] Introduce and use DO_ONCE statement expression macro
On Fri, 2009-05-22 at 06:26 +0100, Al Viro wrote:
> Your DO_ONCE(....) parses as "what the fuck is that?" followed by
> grepping for definition, and the cost is much higher.

So what do you suggest?

#define pr_info_once(fmt, args...) printk_once(KERN_INFO pr_fmt(fmt), ##args)
#define pr_warning_once(fmt, args...) printk_once(KERN_WARNING pr_fmt(fmt), ##args)

 \ /
  Last update: 2009-05-22 07:41    [W:0.032 / U:1.832 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site