Commit Graph

2186 Commits

Author SHA1 Message Date
jiangjianfeng 5e9f537222 Add netlink regression test and gVisor test 2025-04-15 17:20:12 +08:00
jiangjianfeng 7d24e63216 Move network polling code to bottom half 2025-04-15 14:54:51 +08:00
jiangjianfeng 9804f053f2 Add guard which disables bottom half 2025-04-15 14:54:51 +08:00
Ruihan Li e0bda4677c Remove `Send` trait bound from `NonNullPtr` 2025-04-15 10:10:42 +08:00
Ruihan Li de69fd6c31 Add support for `Rcu` to store an `Either` 2025-04-15 10:10:42 +08:00
Ruihan Li a1f81df263 Remove `ostd/src/mm/offset.rs` 2025-04-15 09:15:22 +08:00
Ruihan Li 1a1d9bfb60 Split `ostd/util.rs` 2025-04-15 09:15:22 +08:00
Ruihan Li f8429b2735 Add a regression test 2025-04-14 21:13:11 +08:00
Ruihan Li 8600278a5f Drop files at the correct time 2025-04-14 21:13:11 +08:00
Ruihan Li 7e1abc1fbb Rename `ProcessVmarGuard::get` to `unwrap` 2025-04-14 21:13:11 +08:00
Ruihan Li 293f1ff4c9 Do `release_range_locks` in `Drop` 2025-04-14 21:13:11 +08:00
Zhang Junyang 50924d6693 Stop sharing kernel boot PDPTs and linear boot PDPTs 2025-04-14 16:20:35 +08:00
Fabian LI 6ef74345bb Remove Benchmark Intel TDX badge temporarily 2025-04-13 17:11:14 +08:00
Fabian LI e9c2886a84 Fix platform definition 2025-04-10 17:08:57 +08:00
Fabing Li 784628e238 Add ktest cases for io interfaces 2025-04-10 15:36:58 +08:00
Fabian LI e4e27647c2 Update href in documents 2025-04-10 14:46:01 +08:00
Fabian LI 5e4b612b46 Reconstruct benchmark workflow to support multiple architectures 2025-04-10 14:46:01 +08:00
Chen Chengjun 6aba270a9b Enable RCU to support Weak 2025-04-10 14:42:51 +08:00
Chen Chengjun a21e895102 Enable RCU to read reference to stored pointers 2025-04-10 14:42:51 +08:00
Zhe Tang 36f6f9bcd4 Fix the AVX initialization bugs on lower-end CPUs 2025-04-10 09:52:38 +08:00
jiangjianfeng b833ec6ede Implement ReadCString for MultiRead 2025-04-09 16:47:11 +08:00
Caiyi Shyu 3c2c31ceb0 feat(osdk): add LoongArch64 variant in `Arch` enum 2025-04-07 17:10:57 +08:00
Ruihan Li ceb79ea27a Always move zombie children to init 2025-04-07 13:01:22 +08:00
Ruihan Li 5ed5647d42 Update outdated comments near `switch_to_task` 2025-04-06 09:49:23 +08:00
Zhang Junyang d378dc51ff Enable `IA32_EFER.NXE` earlier in AP 2025-04-05 23:50:42 +08:00
Chen Chengjun 9915978d35 Enable vfork gVisor test 2025-04-03 14:44:39 +08:00
Chen Chengjun e4f07b76a0 Add real vfork logics 2025-04-03 14:44:39 +08:00
le-monde-bleu 43e43ca133 Add vfork syscall and related clone flags 2025-04-03 14:44:39 +08:00
Zhang Junyang 9a974a0483 Resigning ownership of other Makefiles 2025-04-03 14:33:58 +08:00
Ruihan Li 396ead6fbd Fix safety reasoning about `get_on_cpu` 2025-04-03 10:50:22 +08:00
Ruihan Li c17a3eaa0b Revise safety comments in `single_instr.rs` 2025-04-03 10:50:22 +08:00
Ruihan Li 5651b93af0 Turn `GS.base` validity into a global invariant 2025-04-03 10:50:22 +08:00
Ruihan Li b52d841ac1 Revise safety comments for booting APs 2025-04-03 10:50:22 +08:00
Fabing Li d7fbdbfc63 Submit all benchmark results in one step 2025-04-03 10:34:57 +08:00
Zhang Junyang 600f13ef78 Enforce a task not switched to multiple CPUs 2025-04-02 20:51:42 +08:00
Zhang Junyang 2f40d13120 Fix `--no-default-features` 2025-04-02 11:56:52 +08:00
Ruihan Li e040dda7a4 Ignore unusable regions for `max_paddr` 2025-04-02 11:50:33 +08:00
Ruihan Li 8f72192f07 Ignore invalid APIC entries 2025-04-02 11:48:52 +08:00
Ruihan Li 0bbd56ecf3 Don't panic for missing virtio-net 2025-04-02 11:33:51 +08:00
Zhang Junyang 09a8ab8800 Respect local X2Apic MADT entry 2025-03-31 22:11:04 +08:00
Zhang Junyang 07792a1b1c Add unit tests for `Cursor::take_next` reports 2025-03-31 17:19:57 +08:00
Zhang Junyang 78831bc80c Fix that `Cursor::take_next` reports the wrong VAs 2025-03-31 17:19:57 +08:00
jiangjianfeng 1846c680fc Clone the reader to prevent cursor misplacement in `ReadCString` 2025-03-31 14:00:04 +08:00
Fabing Li f4e79d99d0 Enforce the suitable width of badge 2025-03-31 09:14:57 +08:00
Zhang Junyang 83b9ebf87d Avoid repetitive locking for clearing cache 2025-03-30 19:24:12 +08:00
Zhang Junyang e5be154ca8 Make per-cpu counter a macro 2025-03-30 19:24:12 +08:00
Zhang Junyang abc74151fb Add directly to global pool and reduce global lock acquiring 2025-03-30 19:24:12 +08:00
Zhang Junyang d8e076f58a Re-write chunk-splitting and add unit tests 2025-03-30 19:24:12 +08:00
Zhang Junyang ba0dc8c122 Re-organize code of frame allocator's pools 2025-03-30 19:24:12 +08:00
Zhang Junyang 77c4feffd6 Rename `pools.rs` 2025-03-30 19:24:12 +08:00