[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOMZO5CLpW+2yCYRwAJTPWtXgXkaPGyPQrB3cbBGYvV1fryUQw@mail.gmail.com>
Date: Thu, 29 Mar 2018 16:31:58 -0300
From: Fabio Estevam <festevam@...il.com>
To: Julia Lawall <julia.lawall@...6.fr>
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>
Subject: Re: [kbuild-all] [PATCH] OPTIONAL: cpufreq/intel_pstate: fix
debugfs_simple_attr.cocci warnings
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?
Thanks
Powered by blists - more mailing lists