diff options
author | Tim Schumacher <timschumi@gmx.de> | 2023-04-21 10:33:32 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-04-21 13:55:23 +0200 |
commit | 12ce6ef3d72e03b01c218bc3971c709f9069947d (patch) | |
tree | a923b93c4f9f848e6961eb080ffd2248d2df01fd /Userland/Utilities | |
parent | ce483fb2c9f029d304df587b5fbdcf60b10b1612 (diff) | |
download | serenity-12ce6ef3d72e03b01c218bc3971c709f9069947d.zip |
Kernel+Userland: Remove the `nfds` entry from `/sys/kernel/processes`
`process.fds()` is protected by a Mutex, which causes issues when we try
to acquire it while holding a Spinlock. Since nothing seems to use this
value, let's just remove it entirely for now.
Diffstat (limited to 'Userland/Utilities')
-rw-r--r-- | Userland/Utilities/top.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Userland/Utilities/top.cpp b/Userland/Utilities/top.cpp index 0f759c9c70..8751936079 100644 --- a/Userland/Utilities/top.cpp +++ b/Userland/Utilities/top.cpp @@ -46,7 +46,6 @@ struct ThreadData { uid_t uid; gid_t gid; pid_t ppid; - unsigned nfds; DeprecatedString name; DeprecatedString tty; size_t amount_virtual; @@ -105,7 +104,6 @@ static ErrorOr<Snapshot> get_snapshot() thread_data.uid = process.uid; thread_data.gid = process.gid; thread_data.ppid = process.ppid; - thread_data.nfds = process.nfds; thread_data.name = process.name; thread_data.tty = process.tty; thread_data.amount_virtual = process.amount_virtual; |