Commit Graph

2706 Commits

Author SHA1 Message Date
bjorn3 3dab161d30 Copy the flags set from physmap MemoryType over on scheme mmap
Propagating flags like uncachable or writecombining is necessary both
for correctness and for performance.
2026-05-06 21:05:16 +02:00
Speedy_Lex 678a8c5631 Fail softly on bad RSDP 2026-05-05 19:35:33 +02:00
Speedy_Lex 6b55ffea38 Make rsdp pointer NonNull 2026-05-05 19:35:33 +02:00
Speedy_Lex 6af9afb75d Fix check
Co-Author: 4lDO2
2026-05-05 19:35:33 +02:00
Speedy_Lex 6e539f9cd9 Fix bit check in src/profiling.rs 2026-05-05 19:35:33 +02:00
Speedy_Lex f49c7d991a RSDP validation and fixing a few clippy lints 2026-05-05 19:35:31 +02:00
Wildan M 51f32e9edb Allow cd to sys scheme 2026-05-02 18:25:44 +07:00
Wildan M 85c98314a9 Unwrap select_next_context result 2026-05-02 06:23:13 -06:00
Wildan M abb429d0c5 Revert "Split wait queue mutex" 2026-05-02 05:55:27 +07:00
Wildan M a297bfcc82 Use smallvec for memory and notify_files 2026-04-30 22:00:35 +07:00
Wildan M 1070efaec8 Solve some lock ordering 2026-04-30 21:59:19 +07:00
Wildan M 3914801f1e Speed up vector removal 2026-04-30 21:59:19 +07:00
Wildan M 00232b456c Optimize new mmap grant 2026-04-30 11:12:01 -06:00
Wildan M fb137f8001 Avoid reaccessing AddrSpace when switching 2026-04-30 11:09:59 -06:00
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 af1bc5d5e2 Fix relibc CI 2026-04-25 09:48:34 -06: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 M 2ca610193b Add kernel version to relibc CI test 2026-04-20 10:50:42 +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
Wildan M aee49d747a Update relibc test in CI 2026-04-19 16:52:29 +07:00
aarch e80379e6c6 Actually switch to Sv39 2026-04-18 18:49:21 +02:00
aarch f7c48049f5 RISCV64: Change VA scheme to Sv39 for real hardware support + Sv57 definitions 2026-04-18 09:46:34 -06: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