diff options
author | Lioncash <mathew1800@gmail.com> | 2020-07-15 13:23:12 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2020-07-15 13:40:18 -0400 |
commit | 73bb87c06b19aa728b3542551bb0d74daac63f86 (patch) | |
tree | ec2d3a6acbdab0d821ad414082fbadc9f80632c6 /src | |
parent | 52e83f0d5c5dbef89fa789ef1da1245781ee183d (diff) |
kernel/process: Move name and system context to the bottom of the member list
These aren't directly important or commonly used within the process, so
we can move these to the bottom to allow everything else to be more
likely to be within a cache line.
Diffstat (limited to 'src')
-rw-r--r-- | src/core/hle/kernel/process.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/core/hle/kernel/process.h b/src/core/hle/kernel/process.h index 9dabe3568..f45cb5674 100644 --- a/src/core/hle/kernel/process.h +++ b/src/core/hle/kernel/process.h @@ -382,12 +382,6 @@ private: /// List of threads waiting for a condition variable std::unordered_map<VAddr, std::list<std::shared_ptr<Thread>>> cond_var_threads; - /// System context - Core::System& system; - - /// Name of this process - std::string name; - /// Address of the top of the main thread's stack VAddr main_thread_stack_top{}; @@ -399,6 +393,12 @@ private: /// Process total image size std::size_t image_size{}; + + /// Name of this process + std::string name; + + /// System context + Core::System& system; }; } // namespace Kernel |