Commit Graph

1323 Commits

Author SHA1 Message Date
Ruihan Li 328ce9e92c Properly close sockets 2024-07-29 16:56:29 +08:00
Ruihan Li 94b23e077d Use relaxed ordering for polling instant 2024-07-29 16:56:29 +08:00
Ruihan Li 4df7654034 Repeat iface polling if necessary 2024-07-29 16:56:29 +08:00
Wang Siyuan 12ed40578d Add /proc/meminfo support 2024-07-29 13:55:20 +08:00
Shaowei Song ff525112d0 Revise the `BlockDevice` trait 2024-07-29 13:54:13 +08:00
Ruihan Li e83e1fc01b Unpack states from `Arc` in UNIX sockets 2024-07-25 21:38:18 +08:00
Ruihan Li 8df51ab001 Move `status` from channels to pipes 2024-07-25 21:38:18 +08:00
Ruihan Li d24c7f8b9c Remove dead code in `pipe.rs` 2024-07-25 21:38:18 +08:00
Ruihan Li 31d99c66c2 Unpack `Arc<Endpoint>` in UNIX sockets 2024-07-25 21:38:18 +08:00
Chen Chengjun 7ee728e2c7 Fix robust list iteartion bug 2024-07-25 21:37:11 +08:00
Shaowei Song 9e57db7d54 [ext2] Introuce unified inode functions to read/write block(s) 2024-07-25 21:31:18 +08:00
Shaowei Song b1cec501d8 [page_cache] Gap within one page should be filled with zeros in shrink case 2024-07-25 21:31:18 +08:00
StanPlatinum 0b8335c943 Add /proc/filesystems support 2024-07-25 13:21:37 +08:00
Zhang Junyang bb3f8f9c52 Cover debug assertions in intergration tests 2024-07-25 13:20:09 +08:00
Zhang Junyang 3ae884081f Fix both the preempt count atomicity and the CPU-local init problem 2024-07-25 13:20:09 +08:00
Zhang Junyang 00b9bf9610 Fix assertion failure constructing `VmReader`s from zero sized slices 2024-07-25 13:20:09 +08:00
YanWQ-monad 5aa28eae7e Extract x86-specific code from `call_irq_callback_functions` 2024-07-22 22:04:50 +08:00
Fabing Li b3591131c1 Fix missing syscall tests 2024-07-22 22:02:38 +08:00
YanWQ-monad eb5356c492 Set EM_386 only in x86 2024-07-22 21:47:37 +08:00
Yuke Peng e7a75947ea Remove ETIME logic in sys_poll 2024-07-22 21:45:52 +08:00
Yuke Peng 6ada748b79 Remove ETIME logic in sys_select 2024-07-22 21:45:52 +08:00
Yuke Peng faa4234c7d Return Ok when timer expired in do_poll 2024-07-22 21:45:52 +08:00
hongwen.chw 4dacff5be4 Fix a typo when assign 'dst.rbx' at `copy_gp_regs` 2024-07-21 22:34:58 +08:00
Zhang Junyang 20524ae64a Update the 100-line kernel and format it as well 2024-07-20 20:56:29 +08:00
Zhang Junyang 71a486b9a5 Bye, `FrameVec` 2024-07-20 20:56:29 +08:00
Zhang Junyang fd63f8307d Simplify visibility of page table APIs since the module is already `pub(crate)` 2024-07-20 20:56:29 +08:00
Zhang Junyang 668997ab51 Refactor the `VmSpace` API and work around misuses 2024-07-20 20:56:29 +08:00
Ruihan Li 9f125cd671 Remove the nonsense mutex in `Poller` 2024-07-19 18:37:54 +08:00
Ruihan Li 94eba6d85e Add unit tests about blocking behavior 2024-07-18 20:45:16 +08:00
Ruihan Li a219b6a485 Rename `Endpoint` to `Fifo` 2024-07-18 20:45:16 +08:00
Ruihan Li 39cd4420f2 Fix many error codes in pipes 2024-07-18 20:45:16 +08:00
Ruihan Li 8e72451448 Reuse the `wait_events` method in pipes 2024-07-18 20:45:16 +08:00
Ruihan Li 1c0d865373 Refine the event lock for pipes 2024-07-18 20:45:16 +08:00
Ruihan Li ab9941263b Avoid duplicate `wait_events` methods 2024-07-18 20:45:16 +08:00
Ruihan Li 6e8896165d Remove `BusyBoxTraceFile` 2024-07-18 20:45:16 +08:00
Ruihan Li 9505e5704e Avoid the unused `rights` field 2024-07-18 20:45:16 +08:00
Yuke Peng 7621b71113 Remove unused documentations 2024-07-18 20:38:24 +08:00
Yuke Peng 31746e2ebf Use WaitQueue to implement waiting in FutexWaiter 2024-07-18 20:38:24 +08:00
Yuke Peng 34f6108f56 Add benchmarks to workflow 2024-07-18 18:20:28 +08:00
Yuke Peng e22d23429e Add unix latency benchmark 2024-07-18 18:20:28 +08:00
Yuke Peng 02ad3d8cab Add syscall-related benchmarks 2024-07-18 18:20:28 +08:00
Yuke Peng 0021f3014c Add memory-related benchmarks 2024-07-18 18:20:28 +08:00
Yuke Peng 922176641c Add process-related benchmarks 2024-07-18 18:20:28 +08:00
Jianfeng Jiang 3462da986e Remove publish api docs CI 2024-07-18 18:18:05 +08:00
Jianfeng Jiang f86583dbce Make essential changes for publishing OSTD 2024-07-18 18:18:05 +08:00
Yuke Peng 77b823edc0 Add comment for VDSO_LIB 2024-07-18 18:10:56 +08:00
Yuke Peng 7dc1dbf824 Add .so files for LMbench-network 2024-07-18 18:10:56 +08:00
Jianfeng Jiang 49eef0c094 Select should not return ETIME 2024-07-18 18:09:39 +08:00
Jianfeng Jiang 2766d95c18 Poll should not return ETIME 2024-07-18 18:09:39 +08:00
YanWQ-monad bffc34c94b Don't check access mode if the file is being created 2024-07-18 17:55:23 +08:00