diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2022-07-23 20:09:07 +0300 |
---|---|---|
committer | akpm <akpm@linux-foundation.org> | 2022-07-30 04:12:35 +0300 |
commit | ed8fb78d7ecdeb3e2e86df0027e2c2cc55f9908b (patch) | |
tree | 7f920e6a5a183ce4b9c4ab5df660fb08ae64541e /fs/proc/root.c | |
parent | fa7d574ba4f4f3f4f78d432c8545d9045daa89b1 (diff) | |
download | linux-ed8fb78d7ecdeb3e2e86df0027e2c2cc55f9908b.tar.xz |
proc: add some (hopefully) insightful comments
* /proc/${pid}/net status
* removing PDE vs last close stuff (again!)
* random small stuff
Link: https://lkml.kernel.org/r/YtwrM6sDC0OQ53YB@localhost.localdomain
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'fs/proc/root.c')
-rw-r--r-- | fs/proc/root.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/proc/root.c b/fs/proc/root.c index 5a7d15d197f8..3c2ee3eb1138 100644 --- a/fs/proc/root.c +++ b/fs/proc/root.c @@ -302,6 +302,11 @@ void __init proc_root_init(void) proc_mkdir("bus", NULL); proc_sys_init(); + /* + * Last things last. It is not like userspace processes eager + * to open /proc files exist at this point but register last + * anyway. + */ register_filesystem(&proc_fs_type); } |