839 Commits

Author SHA1 Message Date
Ruihan Li
18e0eae331 Never expose ERESTARTSYS to the userspace 2025-02-23 23:11:05 +08:00
Ruihan Li
8187fa2f1b Fix timeout mechanism in wait_events 2025-02-23 23:11:05 +08:00
Ruihan Li
2411ba671c Reapply "Make pause_timeout return EINTR"
This reverts commit 7a017faa44572b36a13527c044f9a674f9897d6c.
2025-02-23 23:11:05 +08:00
Zejun Zhao
29791ba77e Distribute tasks among all the CPUs 2025-02-21 10:02:46 +08:00
Ruihan Li
0398ea3d17 Split bound.rs into small files 2025-02-18 19:20:05 +08:00
Qingsong Chen
04be02efb7 Add init_component for mlsdisk 2025-02-11 11:38:43 +08:00
Qingsong Chen
f6e040ec94 Add a basic ktest for mlsdisk 2025-02-11 11:38:43 +08:00
Qingsong Chen
d8dc153be9 Fix deadlock of CurrentTx in mlsdisk 2025-02-11 11:38:43 +08:00
Qingsong Chen
c040df72b3 Rename SwornDisk to MlsDisk 2025-02-11 11:38:43 +08:00
Shaowei Song
328ba47ccd Fix and revise the directory entry handling in ext2 2025-02-11 11:33:31 +08:00
Zejun Zhao
d71771e49a Re-enable CFS 2025-02-11 10:51:12 +08:00
Zejun Zhao
c2f48a41db Clean up the implementation of scheduling class 2025-02-11 10:51:12 +08:00
jiangjianfeng
3f951e0c0c Enable gVisor tcp_socket_test 2025-02-11 10:50:20 +08:00
Zhang Junyang
e1ced5f385 Conditionally compile dead code in interval_set.rs 2025-02-11 10:48:34 +08:00
Shaowei Song
fecf766771 Revise the cache page allocation for PageCacheManager 2025-02-11 10:48:12 +08:00
jiangjianfeng
55713b88c4 Remove unused dependencies 2025-02-10 10:36:56 +08:00
Ruihan Li
418f58ec89 Avoid locking twice in UDP send 2025-02-08 15:44:44 +08:00
Ruihan Li
6a13787c49 Implementing FileLike for all Sockets 2025-02-08 15:44:44 +08:00
Ruihan Li
3c6737a4ca Revise doc comments for Socket 2025-02-08 15:44:44 +08:00
Ruihan Li
a6b3a65fe5 Don't allocate when possible in do_poll 2025-02-08 15:43:20 +08:00
Ruihan Li
95bbc7f367 Enforce #[expect(lint)] 2025-02-08 15:10:04 +08:00
Ruihan Li
0dca168717 Use #[expect(lint)], not #[allow(lint)] 2025-02-08 15:10:04 +08:00
Ruihan Li
1899646391 Fix #[allow(dead_code)] in cpio-decoder 2025-02-08 15:10:04 +08:00
Ruihan Li
09ef817b4e Fix #[allow(dead_code)] in typeflags 2025-02-08 15:10:04 +08:00
Ruihan Li
1c4e88e648 Fix #[allow(dead_code)] in virtio 2025-02-08 15:10:04 +08:00
Ruihan Li
b415538097 Remove useless #[allow(lint)] 2025-02-08 15:10:04 +08:00
Shaowei Song
56b85cb132 Cache negative dentries for faster negative lookups 2025-01-24 11:48:15 +08:00
jiangjianfeng
14f0f5a7b5 Avoid iterating over all sockets to remove dead sockets 2025-01-24 11:46:18 +08:00
Ruize Tang
c4229e3c2f Add INITRAMFS_SKIP_GZIP option to make initramfs encoding/decoding faster 2025-01-23 10:50:43 +08:00
Ruihan Li
b472737771 Resolve FIXME in pipe tests 2025-01-23 09:57:10 +08:00
Ruihan Li
2cf4aebe7a Use FnOnce() + Send as task func 2025-01-23 09:57:10 +08:00
Shaowei Song
6a865062e6 Unify and optimize the comparison of special file names 2025-01-21 11:34:56 +08:00
Fabing Li
aa5bc6ff73 Fix the unit of meminfo 2025-01-21 11:29:08 +08:00
Shaowei Song
6de5be1ecc Make the generic inode permisson check faster 2025-01-10 10:21:52 +08:00
Ruihan Li
b9ce3e64ad Make the file lookup faster 2025-01-09 10:58:16 +08:00
Ruihan Li
16db96e496 Adjust as_socket signature 2025-01-09 10:58:16 +08:00
Ruihan Li
a7741a8a75 Remove as_device from FileLike 2025-01-09 10:58:16 +08:00
Zhang Junyang
5ea366bced Move kcmdline parsing out of OSTD 2025-01-02 10:41:51 +08:00
Zhang Junyang
397ce9652f Refactor boot modules to make heap allocation explicit 2025-01-02 10:41:51 +08:00
Zhang Junyang
51349a3da1 Heapless memory region initialization 2025-01-02 10:41:51 +08:00
jiangjianfeng
0c8200dc7b Add nginx benchmark and workaround 2025-01-01 10:43:14 +08:00
Qingsong Chen
56a137dc56 Add mlsdisk as a component
Co-authored-by: Shaowei Song <songshaowei.ssw@antgroup.com>
2025-01-01 09:19:32 +08:00
jiangjianfeng
631ab21838 Set hash buckets as 2 to work around performance bottleneck 2024-12-31 13:19:30 +08:00
Ruihan Li
7334c93ff5 Make bigtcp error wrappers consistent 2024-12-30 21:41:51 +08:00
jiangjianfeng
39cc0dca26 Add socket hash table 2024-12-30 09:46:14 +08:00
jiangjianfeng
783345b90b Add Bob Jenkins's hash algorithm 2024-12-30 09:46:14 +08:00
js2xxx
0d30ce0b2c Improve readability on SchedPolicy storage & reduce memory foot print on sched entities 2024-12-30 09:38:48 +08:00
js2xxx
364d6af7c8 Reduce the held time of scheduling policy lock 2024-12-30 09:38:48 +08:00
Zejun Zhao
ea953209ff Add a fast path while picking next thread from RT scheduling class 2024-12-28 14:30:33 +08:00
Shaowei Song
f739c67ed3 Issue device sync request at the end of ext2's sync 2024-12-27 12:23:19 +08:00