[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.20.1803292140340.2750@hadrien>
Date: Thu, 29 Mar 2018 21:44:02 +0200 (CEST)
From: Julia Lawall <julia.lawall@...6.fr>
To: Fabio Estevam <festevam@...il.com>
cc: Francisco Jerez <currojerez@...eup.net>, linux-pm@...r.kernel.org,
Viresh Kumar <viresh.kumar@...aro.org>,
"Rafael J. Wysocki" <rjw@...ysocki.net>,
linux-kernel <linux-kernel@...r.kernel.org>, kbuild-all@...org,
Srinivas Pandruvada <srinivas.pandruvada@...ux.intel.com>,
0day robot <fengguang.wu@...el.com>,
Len Brown <lenb@...nel.org>, Nicolai Stange <nstange@...e.de>
Subject: Re: [kbuild-all] [PATCH] OPTIONAL: cpufreq/intel_pstate: fix
debugfs_simple_attr.cocci warnings
On Thu, 29 Mar 2018, Fabio Estevam wrote:
> Hi Julia,
>
> On Thu, Mar 29, 2018 at 4:12 PM, Julia Lawall <julia.lawall@...6.fr> wrote:
> > Use DEFINE_DEBUGFS_ATTRIBUTE rather than DEFINE_SIMPLE_ATTRIBUTE
> > for debugfs files.
> >
> > Semantic patch information:
> > Rationale: DEFINE_SIMPLE_ATTRIBUTE + debugfs_create_file()
> > imposes some significant overhead as compared to
> > DEFINE_DEBUGFS_ATTRIBUTE + debugfs_create_file_unsafe().
>
> Just curious: could you please expand on what "imposes some
> significant overhead" means?
I don't know. I didn't write this rule. Nicolai, can you explain?
thanks,
julia
Powered by blists - more mailing lists