1910 Commits

Author SHA1 Message Date
Ruihan Li
60440d1062 Avoid deadlocks due to drops 2024-11-19 18:01:33 +08:00
Cautreoxit
885950c2a4 Add VirtioBlockFeature to cache virtio-blk's features 2024-11-17 15:32:56 +08:00
Cautreoxit
3cb7f5b721 Rename the methods in the interface of VirtioTransport 2024-11-17 15:32:56 +08:00
Cautreoxit
300403e3eb Implement sync for ext2 and exfat 2024-11-17 15:32:56 +08:00
Cautreoxit
32572e22d9 Implement flush for virtio-blk 2024-11-17 15:32:56 +08:00
Ruihan Li
197d53c0ab Accept sockets in the ESTABLISHED state 2024-11-16 13:25:19 +08:00
Ruihan Li
39d303c72f Rename get_current_userspace to current_userspace 2024-11-15 13:24:58 +08:00
Ruihan Li
96de617ad9 Rename get_user_space to user_space 2024-11-15 13:24:58 +08:00
Ruihan Li
e6c613f538 Rename (Posix)ThreadExt to As(Posix)Thread 2024-11-13 21:44:37 +08:00
Ruihan Li
9233d1cdbb Add ThreadExt and clean up PosixThreadExt 2024-11-13 21:44:37 +08:00
Ruihan Li
a4a8807a20 Remove KernelThreadExt 2024-11-13 21:44:37 +08:00
Ruihan Li
7850f7e60a Resolve borrowed_box lint 2024-11-13 21:44:37 +08:00
Marsman1996
c200997c9a Avoid init stack top at MAX_USERSPACE_VADDR 2024-11-13 21:43:28 +08:00
Ruize Tang
85d2c9634f Fix non-atomic write for PIPEs with data up to PIPE_BUF 2024-11-13 17:32:39 +08:00
Wang Siyuan
4ea3e49788 Refactor Vmar and VmMapping.
Co-authored-by: Zhang Junyang <junyang@stu.pku.edu.cn>
2024-11-13 17:29:57 +08:00
Shaowei Song
e453649d78 Correct the behavior when operating the root directory 2024-11-13 16:55:37 +08:00
Ruihan Li
ac71234b89 Remove {,un}register_observer 2024-11-13 14:15:44 +08:00
Ruihan Li
054c64542b Use PollAdaptor to signal SIGIO 2024-11-13 14:15:44 +08:00
Ruihan Li
27ae4cb9e7 Use PollAdaptor in EpollFile 2024-11-13 14:15:44 +08:00
Ruihan Li
e32fb2f91b Introduce PollAdaptor and Poller 2024-11-13 14:15:44 +08:00
Ruihan Li
f12e502ab0 Rename Poller to PollHandle 2024-11-13 14:15:44 +08:00
Ruihan Li
44b55f2ccf Revise the poll() method 2024-11-13 14:15:44 +08:00
Ruihan Li
1469059888 Implement CurrentTask 2024-11-13 10:32:54 +08:00
Ruihan Li
51db2da151 Add ForceSync 2024-11-13 10:32:54 +08:00
jiangjianfeng
85a7d94da7 Add lmbench/tcp_virtio_bw_64k in benchmark CI 2024-11-13 10:31:00 +08:00
jiangjianfeng
38682e3ed9 Assign callback to shared irq if there's no single irq line 2024-11-12 17:47:40 +08:00
jiangjianfeng
9965802f65 Disable send callback if sendqueue is not full 2024-11-12 17:47:40 +08:00
jiangjianfeng
56727aa5ee Add bw_tcp_virtio benchmark 2024-11-12 17:47:40 +08:00
Marsman1996
54e2ffbb71 Add check for argc, arg_ptr and env_ptr in InitStackReader 2024-11-12 11:35:46 +08:00
Ruize Tang
7fbe997bb3 Fix range_lock and flock to support signal interrupts and comply with wait API design 2024-11-12 11:33:44 +08:00
Ruihan Li
11382524d1 Use new SpinLock APIs in wait.rs 2024-11-10 17:42:00 +08:00
Zhang Junyang
1f612e45f7 Remove unnecessary page table items 2024-11-09 20:32:48 +08:00
Zhang Junyang
b2b00bdfd2 Lock-free cursor creation 2024-11-09 20:32:48 +08:00
Ruihan Li
0ef55a396f Add a note about the FIXME 2024-11-09 17:09:41 +08:00
Ruihan Li
0c114e911b Revert "Make pause_timeout return EINTR"
This reverts commit 6421fd0b36aafb3fcd9a8f12d5bc6e89f3f86546.
2024-11-09 17:09:41 +08:00
Yuke Peng
12aa9fc857 Refactor the document of IOMMU functions 2024-11-09 10:42:46 +08:00
Yuke Peng
c2626da757 Rename some IOMMU functions 2024-11-09 10:42:46 +08:00
Yuke Peng
65a95cf6b7 Support Interrupt Remapping in IOMMU 2024-11-09 10:42:46 +08:00
Yuke Peng
99fdd49076 Support Queue Invalidation in IOMMU 2024-11-09 10:42:46 +08:00
Shaowei Song
c7404f8139 Add several FIO tests to the benchmark CI 2024-11-09 10:38:50 +08:00
Shaowei Song
31ebcbf264 Support specifying SCHEME in the benchmark 2024-11-09 10:38:50 +08:00
Shaowei Song
012dacab93 Ensure only numeric values are extracted from the benchmark results 2024-11-09 10:38:50 +08:00
Ruihan Li
6421fd0b36 Make pause_timeout return EINTR 2024-11-09 10:25:24 +08:00
Ruihan Li
b563fb639f Revise documentations 2024-11-09 10:25:24 +08:00
Ruihan Li
32b8e05cc3 Make *_or_timeout APIs concise 2024-11-09 10:25:24 +08:00
ZephyrZhang
10cc85d588 Add syscall getpgid 2024-11-09 10:20:57 +08:00
Marsman1996
f287110001 Fix InitStackReader to access given stack instead of current task 2024-11-09 10:06:45 +08:00
Fabing Li
3ad1ea4d66 Fix the title of ext2 and ramfs benchmark 2024-11-08 11:24:15 +08:00
jiangjianfeng
4c80367bc8 Fix CI lint error 2024-11-08 10:53:30 +08:00
Ruihan Li
827c15aa03 Add self-connecting regression tests 2024-11-08 10:49:02 +08:00