diff options
author | tangmeng <tangmeng@uniontech.com> | 2022-02-18 13:58:57 +0300 |
---|---|---|
committer | Luis Chamberlain <mcgrof@kernel.org> | 2022-04-06 23:43:44 +0300 |
commit | f79c9b8ae8bde10126586c1bb55b5fd027276d8e (patch) | |
tree | a2ba9e8940c30db24dbcfd4770a8e01ba91b0c18 /include/linux/lockdep.h | |
parent | aa779e5102195e1d9ade95dcbc0bfbd8f916eb59 (diff) | |
download | linux-f79c9b8ae8bde10126586c1bb55b5fd027276d8e.tar.xz |
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>
Diffstat (limited to 'include/linux/lockdep.h')
-rw-r--r-- | include/linux/lockdep.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/lockdep.h b/include/linux/lockdep.h index 467b94257105..37951c17908e 100644 --- a/include/linux/lockdep.h +++ b/include/linux/lockdep.h @@ -16,10 +16,6 @@ struct task_struct; -/* for sysctl */ -extern int prove_locking; -extern int lock_stat; - #ifdef CONFIG_LOCKDEP #include <linux/linkage.h> |