Commit Graph

1676 Commits

Author SHA1 Message Date
46708f84bc Implement futex private flag 2024-09-22 16:00:56 +08:00
a754accf6a Copy the code from slab_allocator into OSTD and add license header 2024-09-22 12:27:04 +08:00
f26c7a01cd Avoid multiple lock in heap allocator 2024-09-22 12:27:04 +08:00
e995ed3ebc Use slab allocator to allocate heap 2024-09-22 12:27:04 +08:00
228cfe2262 Preallocate some space when expanding size in ext2 2024-09-21 20:22:39 +08:00
550eafcb79 Preallocate some space when expanding size in ramfs 2024-09-21 20:22:39 +08:00
9a79ecbcbe Clean up the frame buffer state in ostd::mm 2024-09-21 15:38:15 +08:00
8b2ca77804 Bump the OSDK's Cargo.lock when bumping the versions 2024-09-21 15:19:35 +08:00
b9808136a4 Block failed futex and fcntl tests 2024-09-21 15:18:56 +08:00
d25346342c Set fail-fast to false to avoid cancelling normal steps 2024-09-20 14:40:11 +08:00
9acc02a288 Hide Semaphores on the overview temporarily 2024-09-20 12:57:05 +08:00
2a6733579d Refactor architecture-specific page fault handling 2024-09-20 10:56:13 +08:00
c5009e38f1 Add pipe/short_rw test
Co-authored-by: Ruihan Li <lrh2000@pku.edu.cn>
2024-09-20 10:37:20 +08:00
985813c7f9 Use IoVec-based reader/writer to refactor network APIs 2024-09-20 10:37:20 +08:00
ea8327af0f Add regression test for sendmsg/recvmsg 2024-09-20 10:37:20 +08:00
b4003b8aeb Add normalize for timeval_t and const value for time 2024-09-20 10:35:03 +08:00
4fa4e5ef2a Add check during the conversion from timeval_t to Duration 2024-09-20 10:35:03 +08:00
70505ff4f8 Support futex wait timeout 2024-09-19 22:42:13 +08:00
12325733b0 Make tests in integration test run in parallel 2024-09-19 22:41:21 +08:00
c2f7a10b84 Implement cpu_local with GS and ensure GS points to TSS 2024-09-19 13:00:36 +08:00
52bde1721e Bump version to 0.8.3 v0.8.3 2024-09-18 20:10:08 +08:00
4bce346458 Update multiboot2 version 2024-09-18 20:10:08 +08:00
f159b42b61 Fix the condition in is_last_thread 2024-09-18 16:59:17 +08:00
2bda8d17c4 Rename some misleading method names 2024-09-17 17:46:56 +08:00
cefeea7b50 Revise IoMem::resize into IoMem::slice 2024-09-17 17:46:56 +08:00
c8ba695c85 Implement VmIoOnce for IoMem 2024-09-17 17:46:56 +08:00
aa62f0a4e6 Make field_ptr! accept VmIoOnce 2024-09-17 17:46:56 +08:00
22b04ceae4 Optimize the DirEntry of RamInode 2024-09-16 15:59:59 +08:00
f194514100 Optimize the page cache within a RamInode 2024-09-16 15:59:59 +08:00
44629e4627 Fix panic in FutexKey::load_val when no read access 2024-09-14 22:45:59 +08:00
f3174dbbbc Make task store Arc<Thread> and process store Arc<Task> 2024-09-14 17:34:14 +08:00
81b0f265b5 Move Tid from Thread to PosixThread 2024-09-14 17:34:14 +08:00
ceb6e2b242 Add lmbench-fs on ext2 in benchmark ci 2024-09-14 17:30:46 +08:00
195fe855a1 Mark all surrounding pages accessed on page fault 2024-09-14 17:29:39 +08:00
addf42c3f8 No need to flush TLB on mapping without overwritting 2024-09-14 17:29:39 +08:00
5df3c9b749 Avoid flushing TLB one by one when the un-mapped range is large 2024-09-14 17:29:39 +08:00
cfd23336e5 Make the benchmark comparison with Linux on ext2 fairer 2024-09-14 17:27:55 +08:00
42e28763c5 Replace the Pausers' usage with Waiter/WaitQueue 2024-09-14 13:59:07 +08:00
822caf34f4 Move Pauser's functionality to Waiter/WaiterQueue and add the per-thread signalled waker 2024-09-14 13:59:07 +08:00
1873bb7a3f Add wait_until_* functionality to Waiter 2024-09-14 13:59:07 +08:00
6a5a5b4d3d Add a fast path to has_pending 2024-09-14 13:59:07 +08:00
66f2dacaf8 Add configuration file for Redis and Nginx 2024-09-14 13:22:50 +08:00
3240965f0a Rename RAND_PORT_NUM 2024-09-14 13:22:50 +08:00
778779fa0d Forward 6379 for Redis 2024-09-14 13:22:50 +08:00
43b6926c11 Add applications to initramfs 2024-09-14 13:22:50 +08:00
32ea24e945 Bump version to 0.8.2 v0.8.2 2024-09-13 23:43:22 +08:00
6bebec0e7b Add applications to dockerfile 2024-09-13 23:43:22 +08:00
fc895c5697 Fix panic in mmap by invalid perms 2024-09-13 23:42:37 +08:00
8421046dba Return when sigset size error 2024-09-13 22:12:50 +08:00
320092eda2 Implement blocking connect properly 2024-09-13 22:09:46 +08:00