Wildan M
|
844f393ae8
|
Downgrade context sigcontrol to read
|
2026-04-29 21:48:31 +07:00 |
|
Wildan M
|
ba28216ae8
|
Downgrade locks to read
|
2026-04-29 21:26:44 +07:00 |
|
Wildan M
|
ab08d47aa8
|
Add commented out switch debug print
|
2026-04-29 11:21:20 +07:00 |
|
Wildan M
|
e7ac009f31
|
Fix deadlock on contended switch
|
2026-04-29 11:21:02 +07:00 |
|
Wildan M
|
fd5a04a121
|
Use status helpers
|
2026-04-29 11:20:43 +07:00 |
|
Wildan M
|
baf329c120
|
Fix dead contexts clobber idle pools
|
2026-04-29 11:20:21 +07:00 |
|
Wildan M
|
866dfad0af
|
Lower WaitQueue incoming lock level
|
2026-04-27 06:51:45 -06:00 |
|
Wildan M
|
b8615790ea
|
Lock wait queue together when receive_into_user
|
2026-04-27 06:51:45 -06:00 |
|
Wildan M
|
746c158465
|
Split wait queue mutex
|
2026-04-27 06:51:45 -06:00 |
|
Wildan M
|
b3a6154445
|
Move dst_space_lock lower to Solve AddrSpaceWrapper lock
|
2026-04-27 06:50:20 -06:00 |
|
Wildan M
|
8dcb508413
|
Make AddrSpaceWrapper lock lower without solving borrow checker
|
2026-04-27 06:50:20 -06:00 |
|
Wildan M
|
2bca47923c
|
Avoid reaccessing AddrSpace when switching
|
2026-04-27 02:18:42 +07:00 |
|
Wildan M
|
c2b20abc03
|
Avoid locking current context on capture_inner
|
2026-04-27 01:54:43 +07:00 |
|
Wildan M
|
e9f50698dd
|
Remove ContextRef upgrade
|
2026-04-26 15:37:40 +07:00 |
|
Wildan M
|
2df7467d13
|
Use weak ContextRef for run contexts
|
2026-04-26 12:08:24 +07:00 |
|
Wildan M
|
ea1d915bbc
|
Make wake up optional
|
2026-04-26 07:15:10 +07:00 |
|
Wildan M
|
643726852b
|
Reduce deadlock cap
|
2026-04-26 06:49:55 +07:00 |
|
Wildan M
|
0534ab6377
|
Replace enqueue with dedicated idle contexts
|
2026-04-26 06:49:55 +07:00 |
|
Wildan M
|
de7926e05e
|
Do not push idle context to queue
|
2026-04-26 06:49:54 +07:00 |
|
Wildan M
|
7adceb6e80
|
Add idle context
|
2026-04-26 06:49:54 +07:00 |
|
bjorn3
|
7827cb6c78
|
Unify context list again now that we have a run queue
This simplifies code and ensures that exiting a context will properly
remove it from the list of contexts.
|
2026-04-26 06:49:54 +07:00 |
|
Wildan M
|
58660a9170
|
Handle AddrSpace munmap
|
2026-04-24 17:52:05 +07:00 |
|
Wildan M
|
f773d3e50d
|
don't loop from idle to kernel context
|
2026-04-23 16:40:12 +07:00 |
|
Wildan M
|
8262fa7da9
|
Don't account idle time
|
2026-04-23 16:33:15 +07:00 |
|
Wildan Mubarok
|
df07d65c05
|
Apply 1 suggestion(s) to 1 file(s)
Co-authored-by: bjorn3 <4397-bjorn3@users.noreply.gitlab.redox-os.org>
|
2026-04-19 08:46:05 -06:00 |
|
Wildan M
|
bbfbe30445
|
Exclude PhysBorrowed from counting shared memory
|
2026-04-19 08:46:05 -06:00 |
|
aarch
|
e80379e6c6
|
Actually switch to Sv39
|
2026-04-18 18:49:21 +02:00 |
|
bjorn3
|
30b967022f
|
Fix a couple of warnings
|
2026-04-17 20:20:16 +02:00 |
|
Akshit Gaur
|
976756991a
|
Deficit Weighted Round Robin Scheduler
|
2026-04-17 06:52:03 -06:00 |
|
Wildan M
|
4531e15ba1
|
Add shared memory stats to contexts
|
2026-04-16 09:53:30 +07:00 |
|
bjorn3
|
219d707362
|
Introduce HandleMap helper type
|
2026-04-13 20:51:24 +02:00 |
|
bjorn3
|
f673afa839
|
Fix a duplicate log
This got moved into allocate, but forgot to save the change.
|
2026-04-13 20:22:18 +02:00 |
|
bjorn3
|
2174f86543
|
Fix debugger
|
2026-04-13 19:43:44 +02:00 |
|
bjorn3
|
4929783030
|
Improve fdstat
|
2026-04-13 19:43:44 +02:00 |
|
bjorn3
|
3a2200198a
|
Always compile the code of sys_fdstat
|
2026-04-13 19:43:44 +02:00 |
|
bjorn3
|
3ff7872cd6
|
Fix warnings for sys_fdstat
|
2026-04-13 19:43:44 +02:00 |
|
bjorn3
|
38f36d406b
|
Use cfg!() instead of #[cfg] for most profiling code
This makes it less likely that it breaks again in the future as most
code gets checked by the compiler even when profiling support is not
enabled.
|
2026-04-13 19:43:43 +02:00 |
|
Jacob Lorentzon
|
142871660e
|
profiling: infer number of CPUs dynamically
|
2026-04-13 06:44:27 -06:00 |
|
bjorn3
|
2405a7ebb3
|
Move kmain and kmain_ap to startup/mod.rs
|
2026-04-12 18:41:00 +02:00 |
|
bjorn3
|
572bb4ce1f
|
Avoid re-exporting arch specific modules in the crate root
|
2026-04-12 18:25:52 +02:00 |
|
Jacob Lorentzon
|
141c87650f
|
Fix profiling and add check to CI
|
2026-04-12 06:51:26 -06:00 |
|
bjorn3
|
2f39aade30
|
Use mmap_anywhere in a couple of places
|
2026-04-10 20:23:01 +02:00 |
|
bjorn3
|
f792faf571
|
Avoid a Once for event::REGISTRY
|
2026-04-10 20:22:58 +02:00 |
|
bjorn3
|
a46f37976b
|
Use div_ceil in LogicalCpuSet Display impl
|
2026-04-10 20:22:58 +02:00 |
|
bjorn3
|
aab33e46c3
|
Fix a couple of warnings
|
2026-04-10 20:22:26 +02:00 |
|
Wildan M
|
8f54fd8cb2
|
Fix displaying affinity in sys/context
|
2026-04-09 15:24:36 -06:00 |
|
bjorn3
|
654ee6ca3e
|
size_of and align_of are part of the prelude nowadays
|
2026-04-09 15:23:34 -06:00 |
|
bjorn3
|
2e784dfe46
|
Remove unused feature gate
|
2026-04-09 15:23:34 -06:00 |
|
bjorn3
|
89a29f4e56
|
Reduce usage of wildcard imports
|
2026-04-09 15:23:34 -06:00 |
|
bjorn3
|
b0b0ec2d71
|
Deduplicate definition of FLAG_SINGLESTEP between x86 and x86_64
|
2026-04-09 15:23:34 -06:00 |
|