Commit Graph

1943 Commits

Author SHA1 Message Date
f6e040ec94 Add a basic ktest for mlsdisk 2025-02-11 11:38:43 +08:00
d8dc153be9 Fix deadlock of CurrentTx in mlsdisk 2025-02-11 11:38:43 +08:00
c040df72b3 Rename SwornDisk to MlsDisk 2025-02-11 11:38:43 +08:00
328ba47ccd Fix and revise the directory entry handling in ext2 2025-02-11 11:33:31 +08:00
d71771e49a Re-enable CFS 2025-02-11 10:51:12 +08:00
c2f48a41db Clean up the implementation of scheduling class 2025-02-11 10:51:12 +08:00
3f951e0c0c Enable gVisor tcp_socket_test 2025-02-11 10:50:20 +08:00
3e31df74e3 Fix an unfulfilled lint expectation on OSDK unit tests 2025-02-11 10:48:34 +08:00
e1ced5f385 Conditionally compile dead code in interval_set.rs 2025-02-11 10:48:34 +08:00
0fc2bccd44 Let OSDK forward commands to the base crate if it is kernel 2025-02-11 10:48:34 +08:00
cb2d8412aa Refactor the generation of base crates 2025-02-11 10:48:34 +08:00
32a6025819 Refactor the parsing of OSDK crate types 2025-02-11 10:48:34 +08:00
fecf766771 Revise the cache page allocation for PageCacheManager 2025-02-11 10:48:12 +08:00
55713b88c4 Remove unused dependencies 2025-02-10 10:36:56 +08:00
418f58ec89 Avoid locking twice in UDP send 2025-02-08 15:44:44 +08:00
6a13787c49 Implementing FileLike for all Sockets 2025-02-08 15:44:44 +08:00
3c6737a4ca Revise doc comments for Socket 2025-02-08 15:44:44 +08:00
a6b3a65fe5 Don't allocate when possible in do_poll 2025-02-08 15:43:20 +08:00
185b27b01c Unify benchmark job name conventions 2025-02-08 15:29:15 +08:00
95bbc7f367 Enforce #[expect(lint)] 2025-02-08 15:10:04 +08:00
0dca168717 Use #[expect(lint)], not #[allow(lint)] 2025-02-08 15:10:04 +08:00
1899646391 Fix #[allow(dead_code)] in cpio-decoder 2025-02-08 15:10:04 +08:00
09ef817b4e Fix #[allow(dead_code)] in typeflags 2025-02-08 15:10:04 +08:00
1c4e88e648 Fix #[allow(dead_code)] in virtio 2025-02-08 15:10:04 +08:00
b415538097 Remove useless #[allow(lint)] 2025-02-08 15:10:04 +08:00
b42d596ec4 Update README for 2025 2025-02-08 14:47:56 +08:00
56b85cb132 Cache negative dentries for faster negative lookups 2025-01-24 11:48:15 +08:00
14f0f5a7b5 Avoid iterating over all sockets to remove dead sockets 2025-01-24 11:46:18 +08:00
c4229e3c2f Add INITRAMFS_SKIP_GZIP option to make initramfs encoding/decoding faster 2025-01-23 10:50:43 +08:00
b472737771 Resolve FIXME in pipe tests 2025-01-23 09:57:10 +08:00
2cf4aebe7a Use FnOnce() + Send as task func 2025-01-23 09:57:10 +08:00
6a865062e6 Unify and optimize the comparison of special file names 2025-01-21 11:34:56 +08:00
aa5bc6ff73 Fix the unit of meminfo 2025-01-21 11:29:08 +08:00
ae02eb227d Add the doc of cargo osdk profile to the book 2025-01-21 09:59:03 +08:00
6de5be1ecc Make the generic inode permisson check faster 2025-01-10 10:21:52 +08:00
b9ce3e64ad Make the file lookup faster 2025-01-09 10:58:16 +08:00
fb8f493b43 Implement RwArc 2025-01-09 10:58:16 +08:00
16db96e496 Adjust as_socket signature 2025-01-09 10:58:16 +08:00
a7741a8a75 Remove as_device from FileLike 2025-01-09 10:58:16 +08:00
16862a2024 Use mutable pointer for kernel heap
Co-authored-by: Chen Chengjun <chenchengjun.ccj@antgroup.com>
2025-01-02 13:21:47 +08:00
87ee88da8c Alloc-free boot page table
This PR uses an unused bit to differentiate allocated boot PT frames,
so that there's no need of a buffer to remember and deallocate frames.
2025-01-02 10:41:51 +08:00
7676f8ec95 Reorder heap initialization 2025-01-02 10:41:51 +08:00
5ea366bced Move kcmdline parsing out of OSTD 2025-01-02 10:41:51 +08:00
397ce9652f Refactor boot modules to make heap allocation explicit 2025-01-02 10:41:51 +08:00
51349a3da1 Heapless memory region initialization 2025-01-02 10:41:51 +08:00
0c8200dc7b Add nginx benchmark and workaround 2025-01-01 10:43:14 +08:00
56a137dc56 Add mlsdisk as a component
Co-authored-by: Shaowei Song <songshaowei.ssw@antgroup.com>
2025-01-01 09:19:32 +08:00
6e691d5838 Fix several typos in benchmarks 2024-12-31 13:19:30 +08:00
631ab21838 Set hash buckets as 2 to work around performance bottleneck 2024-12-31 13:19:30 +08:00
f509c546f9 Adjust the lint check to recognize "wrk" as a valid word. 2024-12-31 10:38:24 +08:00