Commit Graph

1323 Commits

Author SHA1 Message Date
Marsman1996 ae63aa699b Fix panic when OSDK creating crate with `-` in its name 2024-08-08 19:55:15 +08:00
Zhang Junyang 37a9590cfe Refactor `ostd::task::processor` based on faster CPU-local cells 2024-08-08 19:21:03 +08:00
Zhang Junyang 05564ecd4f Abort on double panics 2024-08-08 19:21:03 +08:00
Zhang Junyang fe68b4b510 Generalize single instruction CPU local operations by `cpu_local_cell` 2024-08-08 19:21:03 +08:00
Fabing Li d04111079c Fix the lmbench-exec/shell error when /tmp exists 2024-08-08 16:28:45 +08:00
Jianfeng Jiang 6414111cc5 Support flag SA_RESETHAND 2024-08-08 15:20:13 +08:00
Shaowei Song 0e8c5e7f5f Correct the Linux's behavior of lmbench-file-rd 2024-08-08 15:16:05 +08:00
Chen Chengjun 9a299b68f0 Make the behavior of sys_execve be consistent with Linux 2024-08-08 15:08:55 +08:00
Ruihan Li b1ea422efa Fix accesses to VirtIO queue DMA 2024-08-06 11:34:15 +08:00
Ruihan Li 3deff2e842 Implement `VmIoOnce` for `DmaCoherent` 2024-08-06 11:34:15 +08:00
Ruihan Li cda23937dd Introduce `{read,write}_once` 2024-08-06 11:34:15 +08:00
Ruihan Li 79578c9aa0 Use the plural form in `# Panic` 2024-08-06 11:34:15 +08:00
Ruihan Li dee7734073 Fix a missed `write_volatile` in `VmWriter` 2024-08-06 11:34:15 +08:00
azongchang aa84b31634 Add the description of encoding option to the OSDK document 2024-08-05 15:36:55 +08:00
azongchang 4d19c710a2 Bump linux-bzimage-builder to 0.2.0 2024-08-05 15:36:55 +08:00
azongchang 6752baf166 Utilize libflate crate to compress and decompress payload 2024-08-05 15:36:55 +08:00
Fabing Li 930b0d208d Add @boterinas (a triagebot) for Asterinas 2024-08-05 10:31:10 +08:00
Ruihan Li 4deba9baca Rewrite the whole `net/addr.rs` file 2024-08-05 10:24:56 +08:00
Ruihan Li d814603504 Move `IpEndpoint` to `socket/ip/addr.rs` 2024-08-05 10:24:56 +08:00
Chen Chengjun b11628b9ce Remove destroy_all methods 2024-08-05 10:24:05 +08:00
Zhang Junyang 16690bc61b Implement atomic signal masks and refactor `SigSet` 2024-08-04 21:41:44 +08:00
Yuke Peng 6f8978193c Add benchmarks to workflow 2024-08-02 23:03:06 +08:00
Yuke Peng df996c04f5 Fix pipe test 2024-08-02 23:03:06 +08:00
Yuke Peng 2aaf08e2dc Add select file test 2024-08-02 23:03:06 +08:00
Yuke Peng fd5fe26fae Add file read bandwidth test 2024-08-02 23:03:06 +08:00
Yuke Peng 488445b9e8 Add signal install test 2024-08-02 23:03:06 +08:00
Yuke Peng 39a66aea67 Add unix bandwidth test 2024-08-02 23:03:06 +08:00
Yuke Peng 60ca395f24 Fix lmbench exec and shell scripts 2024-08-02 18:50:41 +08:00
Fabing Li c43c07c9fb Enhance UI and functionality for benchmark 2024-08-02 15:55:36 +08:00
Shaowei Song 20a856b07f Revise the naming of all sync/async io APIs 2024-07-30 20:58:07 +08:00
Shaowei Song 6847181553 Enable lmbench-write&lmbench-read in benchmark ci 2024-07-30 20:57:37 +08:00
Zhang Junyang bdabea09c2 Add SMP boot options 2024-07-30 10:24:09 +08:00
Zhang Junyang 393c9019c0 Boot application processors into spin loops
Co-authored-by: Chuandong Li <lichuand@pku.edu.cn>
2024-07-30 10:24:09 +08:00
Zhang Junyang 870d542f60 Remove the error of `BlkFeatures::MQ` to support multi-processor startup
Co-authored-by: Chuandong Li <lichuand@pku.edu.cn>
2024-07-30 10:24:09 +08:00
Zhang Junyang 8acfc8eb6a Move `CpuSet` out of `ostd::arch` and implement `this_cpu`
Co-authored-by: Chuandong Li <lichuand@pku.edu.cn>
2024-07-30 10:24:09 +08:00
Zhang Junyang da9f55b01f Stop trying to catch panics except for unit tests 2024-07-29 22:46:32 +08:00
Zhang Junyang 460234a18b Check userspace NULL pointers without triggering kernel page faults 2024-07-29 22:46:32 +08:00
Zhang Junyang 91d524c19a Allow debugging with KVM enabled 2024-07-29 22:46:32 +08:00
Zhang Junyang 42aac5ce8b Optimize the performance of page table un-mapping 2024-07-29 22:36:14 +08:00
Zhang Junyang 862b64b786 Sanitize the mutability of page table metadata 2024-07-29 22:36:14 +08:00
Zhang Junyang 819e8dacd5 Allow specifying initial page metadata when allocating 2024-07-29 22:36:14 +08:00
Qingsong Chen 077a9ac3ab Add fcntl subcommand F_GETOWN/F_SETOWN 2024-07-29 22:25:24 +08:00
Yuke Peng 6ab3373f9b Add pipe benchmarks to workflow 2024-07-29 22:16:25 +08:00
Yuke Peng 45a5498c04 Add LMbench pipe test 2024-07-29 22:16:25 +08:00
Ruihan Li c320552ae1 Remove `clean_for_close`/`flush` in `FileLike` 2024-07-29 22:13:02 +08:00
Yuke Peng f57dcd814a Extend user heap limit to 64MB 2024-07-29 22:09:21 +08:00
Weijie Liu cf1a488132 Fix typo in osdk manifest.md
Here "is" should be "are". Also, there are two "that"s which made the sentence structure less direct and potentially confusing.
2024-07-29 20:33:13 +08:00
Ruihan Li fce5785af6 Fix socket lock IRQ behavior 2024-07-29 16:56:29 +08:00
Ruihan Li a14ac1ccbf Fix socket lock ordering 2024-07-29 16:56:29 +08:00
Jianfeng Jiang 3981cd63cd Wake up background polling thread when old_instant is 0
Co-authored-by: Ruihan Li <lrh2000@pku.edu.cn>
2024-07-29 16:56:29 +08:00