Re: [PATCH] proc: change proc_subdir_lock to a rwlock

From: Eric W. Biederman
Date: Wed Jul 29 2015 - 18:21:21 EST


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.

Eric

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/