Commit Graph

1332 Commits

Author SHA1 Message Date
Zhang Junyang d313674a2b Add SMP tests with a general test blocklist 2024-08-27 17:22:47 +08:00
Zhang Junyang 47be0a909b Schedule tasks to APs in `aster-nix` 2024-08-27 17:22:47 +08:00
Zhang Junyang 5feb8f5de8 Refactor the boot PT initialization for SMP 2024-08-27 17:22:47 +08:00
Zhang Junyang e04fa6c69d Handle `VmSpace`'s multi-CPU activation 2024-08-27 17:22:47 +08:00
Zhang Junyang cf4aee0061 A panic unwind print lock 2024-08-27 17:22:47 +08:00
Zhang Junyang c9347e59f4 Fix the preempt info on APs 2024-08-27 17:22:47 +08:00
Zhang Junyang ed82c11dd3 Use a `SpinLock` for the thread table instead of `Mutex` 2024-08-27 17:22:47 +08:00
Zhang Junyang aeba7bec52 Fix SoftIRQ initialization requirements for SMP 2024-08-27 17:22:47 +08:00
Chen Chengjun d499c1592d Add ldconfig to initramfs 2024-08-27 17:21:28 +08:00
Cautreoxit 86f09eef75 Fix all spelling mistakes in history by typos tool 2024-08-27 12:19:48 +08:00
Cautreoxit b29d3b5409 Implement a typo checker 2024-08-27 12:19:48 +08:00
Chen Chengjun 9e59db2f42 Make benchmark CI more fair 2024-08-26 20:27:13 +08:00
Jianfeng Jiang aa77747f94 Make mprotect&munmap return fast when len is zero 2024-08-26 12:06:31 +08:00
Jianfeng Jiang 212440dbb1 Fix: mmap len cannot be zero 2024-08-26 12:06:31 +08:00
jellllly420 32a1a53ee7 Enable check of atomic mode 2024-08-26 10:23:25 +08:00
Zhang Junyang 4231645c02 Fix `is_tdx_enabled` in OSDK tests 2024-08-25 20:42:04 +08:00
Zhang Junyang d809a26a2f Update OSDK testing behaviors in the Makefile and the CI 2024-08-25 20:42:04 +08:00
Zhang Junyang d91573248c Fix local development version OSDK's out-tree behavior 2024-08-25 20:42:04 +08:00
Zhang Junyang 54cbacb2ff Replace the `CpuLocal`'s `borrow*` APIs with `get_with` 2024-08-25 20:14:06 +08:00
Zhang Junyang f7a9510be0 Refactor the `this_cpu` API with `PinCurrentCpu` 2024-08-25 20:14:06 +08:00
Zhang Junyang 9a94ba23aa Replace the `Deref` implementation of `CpuLocal` with `get_on_cpu` 2024-08-25 20:14:06 +08:00
Yuke Peng 3cac1b2a03 Use AtomicU32 to read/write latest modified pid 2024-08-25 20:13:05 +08:00
Yuke Peng ccdf2dc54f Drop the `MutexGuard` of semaphore earlier 2024-08-25 20:13:05 +08:00
Yuke Peng 547e6430ee Pass the reference of sem_buf to semop 2024-08-25 20:13:05 +08:00
Yuke Peng 83a4366a72 Remove check_sem in semop 2024-08-25 20:13:05 +08:00
Yuke Peng 4b1f2f720e Avoid using `current` in semop 2024-08-25 20:13:05 +08:00
Yuke Peng 090b5a1c1d Dsiable mitigations for CPU vulnerabilities in Linux 2024-08-25 20:12:14 +08:00
Chen Chengjun 6bde87d33a Fix a bug of InitStack during doing fork+exec 2024-08-25 15:14:11 +08:00
Zhang Junyang d22277a3e6 Allow manually dispatching publishing workflows 2024-08-24 22:18:22 +08:00
Zhang Junyang 1e24911198 Upgrade the version of `bytemuck` since it's yanked 2024-08-24 17:18:24 +08:00
Zhang Junyang 34b3aac2e3 Bump and publish `ostd-test` and `ostd-macros` 2024-08-24 17:18:24 +08:00
Zhang Junyang e50b05d1ee Bump version to 0.8.0 2024-08-23 23:37:50 +08:00
Zhang Junyang dafd16075f Remove the shim kernel crate 2024-08-23 23:37:50 +08:00
Zhang Junyang d76c7a5b1e OSDK check and clippy with `cfg(ktest)` 2024-08-23 23:37:50 +08:00
Zhang Junyang be3492d7f0 Extract the OSTD test runner as a kernel 2024-08-23 23:37:50 +08:00
Zhang Junyang cad36ecdab Don't inherit OSDK manifest values from workspace root 2024-08-23 23:37:50 +08:00
Yuke Peng c2a8342752 Add lmbench fifo latency test 2024-08-23 19:56:36 +08:00
Yuke Peng 715733f551 Implement dummy NamedPipe 2024-08-23 19:56:36 +08:00
Yuke Peng ea64ddfde5 Change the API of `mknod` 2024-08-23 19:56:36 +08:00
Yuke Peng 95f67b3d67 Remove duplicate `FileType` enumerate 2024-08-23 19:56:36 +08:00
Yuke Peng 30726ad880 Add lmbench unix connect latency test 2024-08-23 19:55:25 +08:00
Yuke Peng 069cd7932b Block when `incoming_conns` reaches backlog 2024-08-23 19:55:25 +08:00
Chen Chengjun e555d8c616 Set the access bit when mapping a frame to the page table in userspace 2024-08-23 19:52:48 +08:00
Ruihan Li 2d6da11d92 Add comments about two polling loops 2024-08-23 19:27:12 +08:00
Yuke Peng 42f70fd779 Fix reachable unwrap panic in `check_sem()` 2024-08-23 19:24:17 +08:00
Yuke Peng a039b58f8b Correct lmdd result_index 2024-08-23 11:44:24 +08:00
Yuke Peng bb4751741a Bump smoltcp to newest git version 2024-08-22 22:58:36 +08:00
Chen Chengjun 7db9ae23a3 Make the kernel stack size configurable 2024-08-22 22:56:16 +08:00
Shaowei Song dce796cdde Refactor all io APIs of vfs based on `VmReader`/`VmWriter` 2024-08-22 22:54:30 +08:00
Yuke Peng 837c7bebb6 Add lmbench lmdd test 2024-08-22 12:51:42 +08:00