Re: [PATCH] proc: change proc_subdir_lock to a rwlock
Two quick questions.
- What motivates this work? Are you seeing lots of parallel reads on proc?
- Why not rcu? Additions and removal of proc generic files is very rare. Conversion to rcu for reads should perform better and not take much more work.