Subject: Re: [PATCH] wil6210: fix debugfs_simple_attr.cocci warnings

From: Kalle Valo <[email-masked]>
Date: Fri, 05 Oct 2018 14:04:42 +0300

YueHaibing <[email-masked]> writes:

> 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().
>
> Generated by: scripts/coccinelle/api/debugfs/debugfs_simple_attr.cocci

Just out of curiosity, what kind of overhead are we talking about here?

-- 
Kalle Valo