Commit Graph

9 Commits

Author SHA1 Message Date
0dca168717 Use #[expect(lint)], not #[allow(lint)] 2025-02-08 15:10:04 +08:00
b9ce3e64ad Make the file lookup faster 2025-01-09 10:58:16 +08:00
1b56a8b600 Enable syscall restart 2024-12-16 21:12:08 +08:00
36fc1d3757 Move FS things to PosixThread 2024-12-05 13:44:09 +08:00
96de617ad9 Rename get_user_space to user_space 2024-11-15 13:24:58 +08:00
4701eaf0cb Implementation of load average calculation and corresponding /proc entry
Moved everything into the kernel side. Add a SchedulerStats trait

Use 'fixed' to represent fixed-point numbers

Make the loadavg calculation lazy
2024-11-05 11:46:23 +08:00
1186fb7ca9 Use SpinLock on FileTable for efficiency 2024-09-13 19:48:26 +08:00
a5e6c11d1a Correct FcntlCmd 2024-08-27 22:14:40 +08:00
dafd16075f Remove the shim kernel crate 2024-08-23 23:37:50 +08:00