summaryrefslogtreecommitdiff
path: root/Kernel/GlobalProcessExposed.cpp
diff options
context:
space:
mode:
authorLiav A <liavalb@gmail.com>2022-07-14 15:27:22 +0300
committerAndreas Kling <kling@serenityos.org>2022-07-14 23:27:46 +0200
commite4e5fa74d0e45975a82784d65f5d1b26fd66e2f8 (patch)
tree7645081136152951e6d306d46b3b52bbde17ef7d /Kernel/GlobalProcessExposed.cpp
parent1c499e75bd25d66393aa2118144d7f0afccc2eed (diff)
downloadserenity-e4e5fa74d0e45975a82784d65f5d1b26fd66e2f8.zip
Kernel+Userland: Rename prefix of user_physical => physical
There's no such supervisor pages concept, so there's no need to call physical pages with the "user_physical" prefix anymore.
Diffstat (limited to 'Kernel/GlobalProcessExposed.cpp')
-rw-r--r--Kernel/GlobalProcessExposed.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Kernel/GlobalProcessExposed.cpp b/Kernel/GlobalProcessExposed.cpp
index 23fe6a07c6..2e12e2c880 100644
--- a/Kernel/GlobalProcessExposed.cpp
+++ b/Kernel/GlobalProcessExposed.cpp
@@ -446,10 +446,10 @@ private:
auto json = TRY(JsonObjectSerializer<>::try_create(builder));
TRY(json.add("kmalloc_allocated"sv, stats.bytes_allocated));
TRY(json.add("kmalloc_available"sv, stats.bytes_free));
- TRY(json.add("user_physical_allocated"sv, system_memory.user_physical_pages_used));
- TRY(json.add("user_physical_available"sv, system_memory.user_physical_pages - system_memory.user_physical_pages_used));
- TRY(json.add("user_physical_committed"sv, system_memory.user_physical_pages_committed));
- TRY(json.add("user_physical_uncommitted"sv, system_memory.user_physical_pages_uncommitted));
+ TRY(json.add("physical_allocated"sv, system_memory.physical_pages_used));
+ TRY(json.add("physical_available"sv, system_memory.physical_pages - system_memory.physical_pages_used));
+ TRY(json.add("physical_committed"sv, system_memory.physical_pages_committed));
+ TRY(json.add("physical_uncommitted"sv, system_memory.physical_pages_uncommitted));
TRY(json.add("kmalloc_call_count"sv, stats.kmalloc_call_count));
TRY(json.add("kfree_call_count"sv, stats.kfree_call_count));
TRY(json.finish());