Akshit Gaur
f5fe18b23c
Finish the work on separating timers
2026-07-16 07:48:54 -06:00
R Aadarsh
00cfa2d225
Add support for querying dom-node map
2026-07-11 08:33:17 +05:30
R Aadarsh
bb06db93ce
Add support for querying numa info from userspace
2026-07-10 15:46:02 +05:30
4lDO2
c83b38eb70
Remove obsolete TODO, run rustfmt.
2026-07-06 19:30:05 +02:00
Wildan M
372cd19b6f
Remove irq from handles on close
2026-07-02 08:41:11 +07:00
Ibuki Omatsu
6c3d5d28c6
refactor: Move fd allocation logic into userspace
2026-07-01 08:02:47 -06:00
Wildan M
002fff546d
Clear cloexec flag on Dup2
2026-06-20 06:35:01 +07:00
Wildan M
ed31b800c4
Revert "Use weak context for Proc"
2026-06-19 17:36:41 +07:00
4lDO2
42613ddc06
WIP: simultaneous NMI-based user+kernel profiling.
2026-06-03 19:01:35 +02:00
R Aadarsh
f8bc19747a
Make necessary changes to the kernel in order for relibc to support posix_spawn and posix_spawnp
...
* `syscall::sendfd`, now, when called with a `ContextHandle::FileTable` adds the fd to the filetable removing it from the calling process's filetable
* Files can now be added to, removed from another process, and can be duplicated using `ProcScheme::kcall`
* Files of another process with the flag O_CLOEXEC can now be closed by using `kcall`
2026-06-03 15:29:02 +05:30
4lDO2
8011f3f648
Simplify acpi scheme.
2026-06-02 16:23:08 +02:00
4lDO2
6fc2d32497
Remove redundant methods from KernelScheme.
2026-06-02 11:24:37 +02:00
Wildan M
973ac667e3
Use syscall time helper functions
2026-05-30 12:29:38 +07:00
Wildan M
ec1395b554
Wrap unmap loop with handle_notify_files
2026-05-30 08:40:49 -06:00
Ibuki Omatsu
e847768f2b
feat: Implement multiple fds variant for call and std_fs_call
2026-05-29 13:07:36 +02:00
bjorn3
91ab8301f2
Fix warnings after updating rustc
...
Couple of features got stabilized, cpuid was made safe and there is a
new lint for function item to integer casts.
2026-05-27 20:53:10 +02:00
Wildan M
f70905d439
Resolve warnings
2026-05-23 00:04:34 +07:00
Wildan M
805f921e10
Use weak context for Proc and Futex
2026-05-20 12:57:37 +07:00
Wildan M
ff11f47404
Add futex, pipe, timeout subscribers
2026-05-13 10:46:38 +07:00
Wildan M
bd44956e96
Capture event stat, change stat source for contexts
2026-05-12 12:24:49 +07:00
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
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
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
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
fd5a04a121
Use status helpers
2026-04-29 11:20:43 +07:00
Wildan M
b3a6154445
Move dst_space_lock lower to Solve AddrSpaceWrapper lock
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
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 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
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
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
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
aab33e46c3
Fix a couple of warnings
2026-04-10 20:22:26 +02:00
bjorn3
654ee6ca3e
size_of and align_of are part of the prelude nowadays
2026-04-09 15:23:34 -06:00
bjorn3
89a29f4e56
Reduce usage of wildcard imports
2026-04-09 15:23:34 -06:00