Message ID | 1522428224-20192-1-git-send-email-Julia.Lawall@lip6.fr (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
diff --git a/scripts/coccinelle/api/debugfs/debugfs_simple_attr.cocci b/scripts/coccinelle/api/debugfs/debugfs_simple_attr.cocci index 7c31231..6ff97e2 100644 --- a/scripts/coccinelle/api/debugfs/debugfs_simple_attr.cocci +++ b/scripts/coccinelle/api/debugfs/debugfs_simple_attr.cocci @@ -5,6 +5,8 @@ //# Rationale: DEFINE_SIMPLE_ATTRIBUTE + debugfs_create_file() //# imposes some significant overhead as compared to //# DEFINE_DEBUGFS_ATTRIBUTE + debugfs_create_file_unsafe(). +//# See commit c64688081490 ("debugfs: add support for self-protecting +//# attribute file fops") for further information. // // Copyright (C): 2016 Nicolai Stange // Options: --no-includes
The referenced commit gives some information about the overhead reduced by this change. Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> --- scripts/coccinelle/api/debugfs/debugfs_simple_attr.cocci | 2 ++ 1 file changed, 2 insertions(+)