Re: [PATCH] drm/sti: Avoid full proxy f_ops for sti debug attributes

2023-01-22 Thread Deepak R Varma
On Wed, Jan 11, 2023 at 01:50:06AM +0530, Deepak R Varma wrote: > Using DEFINE_SIMPLE_ATTRIBUTE macro with the debugfs_create_file() > function adds the overhead of introducing a proxy file operation > functions to wrap the original read/write inside file removal protection > functions. This adds s

[PATCH] drm/sti: Avoid full proxy f_ops for sti debug attributes

2023-01-10 Thread Deepak R Varma
Using DEFINE_SIMPLE_ATTRIBUTE macro with the debugfs_create_file() function adds the overhead of introducing a proxy file operation functions to wrap the original read/write inside file removal protection functions. This adds significant overhead in terms of introducing and managing the proxy facto