kernel/lockdep: move lockdep sysctls to its own file
authortangmeng <tangmeng@uniontech.com>
Fri, 18 Feb 2022 10:58:57 +0000 (18:58 +0800)
committerLuis Chamberlain <mcgrof@kernel.org>
Wed, 6 Apr 2022 20:43:44 +0000 (13:43 -0700)
commitf79c9b8ae8bde10126586c1bb55b5fd027276d8e
treea2ba9e8940c30db24dbcfd4770a8e01ba91b0c18
parentaa779e5102195e1d9ade95dcbc0bfbd8f916eb59
kernel/lockdep: move lockdep sysctls to its own file

kernel/sysctl.c is a kitchen sink where everyone leaves their dirty
dishes, this makes it very difficult to maintain.

To help with this maintenance let's start by moving sysctls to places
where they actually belong.  The proc sysctl maintainers do not want to
know what sysctl knobs you wish to add for your own piece of code, we
just care about the core logic.

All filesystem syctls now get reviewed by fs folks. This commit
follows the commit of fs, move the prove_locking and lock_stat sysctls
to its own file, kernel/lockdep.c.

Signed-off-by: tangmeng <tangmeng@uniontech.com>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
include/linux/lockdep.h
kernel/locking/lockdep.c
kernel/sysctl.c