Commit Graph

1541 Commits

Author SHA1 Message Date
jiangjianfeng a7e09ff415 Disbale dumping network packets 2024-10-08 10:50:38 +08:00
Zhang Junyang e1e7afe0ca Use `node::Entry` to optimize page table cursor operations 2024-10-06 17:15:41 +08:00
Zhang Junyang 96f120d957 Clean up some page table implementation 2024-10-06 17:15:41 +08:00
Zhang Junyang 31aa3058c7 Make sure ktest finishes without aborts 2024-10-06 17:15:41 +08:00
Zhang Junyang 5bdf85b5f0 Regulate the mapping tracking status of page tables 2024-10-06 17:15:41 +08:00
Yuke Peng 909fb23f8c Call rescue when low memory in heap allocator 2024-10-06 17:14:50 +08:00
Ruihan Li 96efd62007 Use `LocalIrqDisable` in `Subject` 2024-10-04 21:55:48 +08:00
Zhang Junyang 2ddcd2d9a7 Add `.code64` to the x86 trap assembly 2024-10-04 21:54:48 +08:00
Yuke Peng 8b69aba0b8 [RISCV] Fix panic when initramfs not exists 2024-10-04 21:53:52 +08:00
Yuke Peng 7d5a2b7a79 [VirtIO] Correct the error code when device not match 2024-10-04 10:28:59 +08:00
Yuke Peng 2765b1106e Remove unused field in OSDK config file 2024-10-04 10:08:03 +08:00
Thomas Dickson 1632ce36d7 doc: improve grammar, spelling, and fix some links
doc: resolve rebasing osdk docs

doc: improve grammar and spelling, fix links for the contributing section

fix: resolve rebasing for run.rs

fix: resolve rebasing for osdk, again
2024-10-01 15:24:12 +08:00
Thomas Dickson 5af0fd6010 doc: update kernel README with new version number 2024-10-01 15:24:12 +08:00
Yuke Peng 61f6c637d2 Add Nginx benchmark CI 2024-10-01 14:18:02 +08:00
Yuke Peng 0620ec58e4 Extract host-guest benchmark CI script 2024-10-01 14:18:02 +08:00
Yuke Peng 5564adee74 Forward 8080 when benchmarking Linux 2024-10-01 14:18:02 +08:00
Ruihan Li 76d4b180d0 Increase the TCP socket buffer length 2024-09-30 20:37:57 +08:00
Ruihan Li 17ea6e91b0 Benchmark TCP localhost with 64K messages 2024-09-30 20:37:57 +08:00
Ruihan Li 5b336eabdc Bump version to 0.9.0 2024-09-30 20:37:57 +08:00
Marsman1996 44760eb5fa Return when sigset size error for rt_sigsuspend, rt_sigprocmask and rt_sigaction 2024-09-30 20:24:23 +08:00
Zhang Junyang ab8b6afee5 OSDK GDB server args with QEMU-style options 2024-09-30 16:04:03 +08:00
Zhang Junyang 43e3f8cf6b Update the OSDK default GDB socket 2024-09-30 16:04:03 +08:00
Zhang Junyang ecae3475cc Integrate the SVG flame graph generation into OSDK 2024-09-30 16:04:03 +08:00
Zhang Junyang a67a6e6a38 Add documentation for OSDK profiling 2024-09-30 16:04:03 +08:00
Zhang Junyang eca9aacbf0 Introduce `cargo osdk profile` for flame graph profiling 2024-09-30 16:04:03 +08:00
Ruihan Li ee1656ba35 Move packet dispatch out of smoltcp 2024-09-30 16:00:51 +08:00
jiangjianfeng f793259512 Avoiding busy loop in sending packet and optimize device caps 2024-09-30 15:03:58 +08:00
Zhang Junyang e0106f1f18 Fix the typo checker false positive `sie` 2024-09-30 11:17:34 +08:00
Chen Chengjun 8f50391a4e Optimize the clear procedure of the page table 2024-09-30 10:46:30 +08:00
YanWQ-monad 4fa0e6334b Add RISC-V base support 2024-09-30 10:02:08 +08:00
YanWQ-monad 839c2a6689 Extract shared code from timer 2024-09-30 10:02:08 +08:00
Shaowei Song c4cb0f1aef Quiet Linux boot logs to avoid mixing with result logs 2024-09-27 18:53:26 +08:00
jellllly420 5c8e369057 Enable scheduler to fetch scheduling information directly from Thread 2024-09-27 10:21:45 +08:00
jellllly420 9cc63149f1 Remove cpu_affinity field from OSTD Task struct 2024-09-27 10:21:45 +08:00
jellllly420 8927031426 Remove priority field from OSTD Task struct 2024-09-27 10:21:45 +08:00
Carlos López 0a36760f7a Respect user-defined exit signal in clone() and clone3()
When calling clone() and clone3(), the user is allowed to specify a
signal to be sent to the parent process on exit. Respect this value by
storing it in the Process struct and sending the signal on exit.

Add a test as well to verify that the signal is properly delivered to
the parent.
2024-09-26 20:07:43 +08:00
Carlos López 130a0f7030 Homogenize arguments for clone() and clone3()
The arguments for both syscalls follow different formats. Rewrite the
CloneArgs struct to homogenize both formats into one.
2024-09-26 20:07:43 +08:00
Zhang Junyang fad39fdf7a Make TLB flush policy relaxed 2024-09-26 19:29:59 +08:00
Zhang Junyang 52f1787d35 Remove syncronizations for the `VmSpace` PF handler 2024-09-26 19:29:59 +08:00
Zhang Junyang 7407cc8091 Remove some repetitive locks forking `Vmar` 2024-09-26 19:29:59 +08:00
Zhang Junyang ac6d9256ef Improve the `VmSpace` forking API 2024-09-26 19:29:59 +08:00
Marsman1996 d4036d1e9d Handle error in `FsResolver::create_new_file()` 2024-09-26 17:45:00 +08:00
Yuke Peng 3929ea8c86 Stabilize some benchmark results 2024-09-26 15:33:16 +08:00
Shaowei Song f2af6136da Minor optimizations on both `lat-syscall-stat` and `lat-syscall-open` 2024-09-26 15:25:49 +08:00
Ruihan Li fc77c474db Move and group methods 2024-09-26 15:22:16 +08:00
Ruihan Li 3fc396f5f1 Adjust the ephemeral port 2024-09-26 15:22:16 +08:00
Ruihan Li eb3a033496 Refine some lock usages 2024-09-26 15:22:16 +08:00
Ruihan Li b13a82dc61 Bump smoltcp version 2024-09-26 15:22:16 +08:00
Ruihan Li 51334c4a36 Clean up smoltcp dependencies 2024-09-26 15:22:16 +08:00
Ruihan Li d62bb1ca76 Use static IP addresses 2024-09-26 15:22:16 +08:00