Joel Granados
2f5edd03ca
sysctl: Refactor base paths registrations
...
This is part of the general push to deprecate register_sysctl_paths and
register_sysctl_table. The old way of doing this through
register_sysctl_base and DECLARE_SYSCTL_BASE macro is replaced with a
call to register_sysctl_init. The 5 base paths affected are: "kernel",
"vm", "debug", "dev" and "fs".
We remove the register_sysctl_base function and the DECLARE_SYSCTL_BASE
macro since they are no longer needed.
In order to quickly acertain that the paths did not actually change I
executed `find /proc/sys/ | sha1sum` and made sure that the sha was the
same before and after the commit.
We end up saving 563 bytes with this change:
./scripts/bloat-o-meter vmlinux.0.base vmlinux.1.refactor-base-paths
add/remove: 0/5 grow/shrink: 2/0 up/down: 77/-640 (-563)
Function old new delta
sysctl_init_bases 55 111 +56
init_fs_sysctls 12 33 +21
vm_base_table 128 - -128
kernel_base_table 128 - -128
fs_base_table 128 - -128
dev_base_table 128 - -128
debug_base_table 128 - -128
Total: Before=21258215, After=21257652, chg -0.00%
[mcgrof: modified to use register_sysctl_init() over register_sysctl()
and add bloat-o-meter stats]
Signed-off-by: Joel Granados <j.granados@samsung.com >
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org >
Tested-by: Stephen Rothwell <sfr@canb.auug.org.au >
Acked-by: Christian Brauner <brauner@kernel.org >
2023-05-23 21:43:26 -07:00
..
2023-04-29 09:09:31 +02:00
2023-03-29 12:26:32 +02:00
2023-04-03 21:42:52 +02:00
2023-03-31 17:49:36 +05:30
2023-04-27 12:07:50 -07:00
2023-03-21 19:25:25 +01:00
2023-04-10 12:26:34 +01:00
2023-04-08 10:50:04 +01:00
2023-04-26 09:05:00 -04:00
2023-05-03 11:25:01 -07:00
2023-04-29 17:21:24 -07:00
2023-04-26 16:07:23 -07:00
2023-04-19 20:39:03 +02:00
2023-04-22 01:39:40 +02:00
2023-04-21 08:29:13 +01:00
2023-03-27 14:01:18 +01:00
2023-04-27 11:42:11 -07:00
2023-03-29 22:38:57 +02:00
2023-04-05 20:58:32 -07:00
2023-04-30 13:00:38 -07:00
2023-04-26 16:07:23 -07:00
2023-04-12 15:30:36 +05:30
2023-04-21 14:37:03 +01:00
2023-04-29 11:04:14 -07:00
2023-04-27 11:53:57 -07:00
2023-04-27 17:17:12 -07:00
2023-03-24 19:19:19 -04:00
2023-04-06 14:24:04 +02:00
2023-04-08 10:51:23 +01:00
2023-03-24 19:19:19 -04:00
2023-03-23 10:29:25 +09:00
2023-04-17 18:01:22 +02:00
2023-04-26 12:52:58 -07:00
2023-04-26 12:52:58 -07:00
2023-05-06 08:28:58 -07:00
2023-03-25 19:52:52 -07:00
2023-03-25 19:52:51 -07:00
2023-04-22 08:21:05 -07:00
2023-04-15 17:36:50 -07:00
2023-04-21 11:34:50 -07:00
2023-04-16 08:51:24 -07:00
2023-04-21 14:52:01 -07:00
2023-04-14 10:13:39 +01:00
2023-04-18 16:29:49 -07:00
2023-04-29 17:29:39 -07:00
2023-04-13 11:49:35 -07:00
2023-03-21 11:53:16 +01:00
2023-04-28 14:02:54 -07:00
2023-03-24 16:04:21 -07:00
2023-04-27 10:09:05 -07:00
2023-04-25 12:39:01 -07:00
2023-03-25 12:57:34 -07:00
2023-03-23 16:02:27 -10:00
2023-04-17 18:01:23 +02:00
2023-04-20 18:20:04 +08:00
2023-04-18 16:39:34 -07:00
2023-04-14 12:32:20 -04:00
2023-03-24 15:35:31 +01:00
2023-05-09 11:06:45 +02:00
2023-03-30 15:57:50 -04:00
2023-03-25 10:55:07 -07:00
2023-04-07 07:38:20 +02:00
2023-03-28 13:39:02 -07:00
2023-04-13 22:22:10 -07:00
2023-04-18 20:48:59 -07:00
2023-04-26 09:04:59 -04:00
2023-04-10 10:58:45 -07:00
2023-04-13 07:38:54 -06:00
2023-03-29 16:00:23 +02:00
2023-04-13 21:36:41 -07:00
2023-03-28 18:52:22 -04:00
2023-04-29 10:35:48 -07:00
2023-04-26 08:57:41 -07:00
2023-04-11 19:23:15 -07:00
2023-05-05 13:11:02 -07:00
2023-04-01 20:27:55 -06:00
2023-03-28 16:20:16 -07:00
2023-04-05 19:42:53 -07:00
2023-04-08 13:45:38 -07:00
2023-03-30 17:35:42 +02:00
2023-04-18 16:29:51 -07:00
2023-04-04 13:59:10 +02:00
2023-04-05 19:42:56 -07:00
2023-04-27 19:42:02 -07:00
2023-04-07 08:45:17 -07:00
2023-05-03 17:27:29 +02:00
2023-04-13 16:32:02 +02:00
2023-04-21 08:25:49 +01:00
2023-05-10 10:25:55 +01:00
2023-04-05 11:29:59 +03:00
2023-04-15 14:44:57 -06:00
2023-05-09 07:59:54 -06:00
2023-03-28 16:20:16 -07:00
2023-04-21 08:54:47 -07:00
2023-04-30 13:00:38 -07:00
2023-03-31 13:43:32 -03:00
2023-04-08 13:45:38 -07:00
2023-04-08 13:45:38 -07:00
2023-04-18 16:30:09 -07:00
2023-03-24 15:35:51 +01:00
2023-05-02 17:21:50 -07:00
2023-05-01 12:06:20 -07:00
2023-03-27 10:13:28 -04:00
2023-03-23 16:10:59 -07:00
2023-05-02 10:36:02 -07:00
2023-03-24 19:19:19 -04:00
2023-04-27 13:45:31 -07:00
2023-03-22 17:09:28 +01:00
2023-03-22 17:09:28 +01:00
2023-03-27 11:16:04 -07:00
2023-04-24 11:21:50 -07:00
2023-04-18 11:48:55 -05:00
2023-04-05 19:42:55 -07:00
2023-04-18 16:29:50 -07:00
2023-04-18 16:30:11 -07:00
2023-04-05 19:42:44 -07:00
2023-04-28 14:53:30 -07:00
2023-04-28 09:43:49 -07:00
2023-04-05 20:02:57 -07:00
2023-04-18 16:30:11 -07:00
2023-03-29 12:26:32 +02:00
2023-04-13 17:15:50 -07:00
2023-04-27 16:36:55 -07:00
2023-04-24 00:09:20 -05:00
2023-04-03 10:04:27 +01:00
2023-04-23 13:35:07 +01:00
2023-04-21 11:34:14 -07:00
2023-03-27 19:49:58 -07:00
2023-04-11 16:13:21 -04:00
2023-04-11 13:08:26 -04:00
2023-04-11 13:08:26 -04:00
2023-04-28 15:48:45 -04:00
2023-04-26 09:05:00 -04:00
2023-04-04 08:35:34 -07:00
2023-03-22 09:19:56 +01:00
2023-04-05 19:41:11 +02:00
2023-04-05 19:41:13 +02:00
2023-03-23 23:18:58 +01:00
2023-03-23 23:18:58 +01:00
2023-04-13 17:46:35 -05:00
2023-04-27 12:07:50 -07:00
2023-04-13 17:46:34 -05:00
2023-04-27 12:07:50 -07:00
2023-04-05 19:42:54 -07:00
2023-04-27 19:42:02 -07:00
2023-04-05 19:42:46 -07:00
2023-04-27 19:42:02 -07:00
2023-05-23 21:43:25 -07:00
2023-05-08 11:25:19 +02:00
2023-04-18 10:36:58 -07:00
2023-04-30 11:51:51 -07:00
2023-04-20 15:43:34 +02:00
2023-03-28 16:20:12 -07:00
2023-04-19 12:59:16 +01:00
2023-04-06 12:01:20 -07:00
2023-04-03 11:16:56 +02:00
2023-04-21 15:34:33 +02:00
2023-03-29 22:38:56 +02:00
2023-04-20 22:55:35 -04:00
2023-04-20 14:25:07 +02:00
2023-04-05 09:58:50 +02:00
2023-04-05 09:58:50 +02:00
2023-04-20 18:20:05 +08:00
2023-04-13 14:27:53 +02:00
2023-03-24 19:19:19 -04:00
2023-04-18 16:39:33 -07:00
2023-03-29 10:35:41 +02:00
2023-03-28 10:39:29 +02:00
2023-04-07 17:28:19 +01:00
2023-04-13 16:04:28 -07:00
2023-04-28 15:57:53 -07:00
2023-04-21 08:19:30 +01:00
2023-04-24 13:39:58 -07:00
2023-04-19 14:07:13 -06:00
2023-04-18 11:15:24 -07:00
2023-04-25 21:03:14 -04:00
2023-04-23 21:51:25 -07:00
2023-03-27 08:12:01 +01:00
2023-04-18 16:29:55 -07:00
2023-04-21 20:32:37 -07:00
2023-04-27 19:42:02 -07:00
2023-04-28 15:03:43 -07:00
2023-04-03 10:08:43 +01:00
2023-03-27 11:15:59 -07:00
2023-04-04 08:35:34 -07:00
2023-04-05 13:50:37 +00:00
2023-04-14 17:31:23 +02:00
2023-04-13 12:50:46 +02:00
2023-04-20 19:06:12 +02:00
2023-04-21 14:52:02 -07:00
2023-04-29 10:29:57 -07:00
2023-04-16 14:23:07 +02:00
2023-05-23 21:43:26 -07:00
2023-04-27 19:20:12 +02:00
2023-04-05 13:47:43 +00:00
2023-04-28 13:06:36 +00:00
2023-04-27 11:53:57 -07:00
2023-03-28 10:39:29 +02:00
2023-05-02 17:21:50 -07:00
2023-04-27 11:42:11 -07:00
2023-03-29 06:52:09 -04:00
2023-04-27 19:42:02 -07:00
2023-03-23 17:25:46 +01:00
2023-04-21 03:02:35 -04:00
2023-05-02 11:56:43 -07:00
2023-04-21 03:02:35 -04:00
2023-03-29 08:19:38 +01:00
2023-04-21 03:02:30 -04:00
2023-04-05 20:03:01 -07:00
2023-04-05 19:42:57 -07:00
2023-04-05 20:03:01 -07:00
2023-04-21 03:02:34 -04:00
2023-04-24 11:48:33 +02:00
2023-03-23 15:55:38 -10:00
2023-04-17 18:01:22 +02:00