Re: [RFC PATCH] fs: Move @f_count to different cacheline with @f_mode

2020-05-17 Thread Shaokun Zhang
Hi maintainers, A gentle ping. Thanks, Shaokun On 2020/4/30 11:25, Shaokun Zhang wrote: > From: Yuqi Jin > > __fget_files does check the @f_mode with mask variable and will do some > atomic operations on @f_count while both are on the same cacheline. > Many CPU cores do file access and it

[RFC PATCH] fs: Move @f_count to different cacheline with @f_mode

2020-04-29 Thread Shaokun Zhang
From: Yuqi Jin __fget_files does check the @f_mode with mask variable and will do some atomic operations on @f_count while both are on the same cacheline. Many CPU cores do file access and it will cause much conflicts on @f_count. If we could make the two members into different cachelines, it