Commit Graph

1389 Commits

Author SHA1 Message Date
f01772ca85 Fix panic in Cursor::new by invalid Vaddr range 2024-09-12 08:14:01 +08:00
8bfbdf6642 Optimize the lock usage in RamInode's read/write 2024-09-11 12:59:31 +08:00
4fb4cb4c4a Remove the Makefile dependency of run on phony build 2024-09-11 12:45:17 +08:00
42f3411337 Fix index out of bound when key of semget too large 2024-09-11 12:43:49 +08:00
c68302f700 Don't hold any locks while waiting in EpollFile 2024-09-07 06:47:12 +08:00
64e43d34aa doc: fix typo in README.md 2024-09-06 14:26:31 +08:00
458a6a5b3b Fix unexpected unlock of mutexes, add a testcase 2024-09-04 22:23:46 +09:00
9638744712 Unseekable files need not to manipulate the offset 2024-09-02 18:42:35 +08:00
92680ea25d Improve safe comment 2024-09-02 17:13:49 +08:00
a0ec687315 Page::inc_ref_count conforms to the reference counting invariant
format code

Add detailed annotations

Typo fixed
2024-09-02 17:13:49 +08:00
f94d2e55f7 Disable SemOpMultiNoBlock 2024-09-02 17:12:04 +08:00
6ce50fab1c Refactor semaphore to support atomic semop 2024-09-02 17:12:04 +08:00
9a2faff07b Enable lto in running benchmark 2024-09-02 17:09:48 +08:00
dcc9600cb4 Do not modify timestamps on device read/write 2024-09-02 17:09:16 +08:00
745ac6d982 Set overflow boundary to isize::MAX for memory related syscalls 2024-09-01 15:40:46 +08:00
9589b332aa Add more overflow checks in mmap 2024-09-01 15:40:46 +08:00
e184094648 Fix integer overflow caused by page align 2024-09-01 15:40:46 +08:00
0a8ad6971a Fix integer overflow caused by large addr + size in memory related syscall 2024-09-01 15:40:46 +08:00
e6e771e9b5 Better timestamp in logging 2024-08-31 10:51:22 +08:00
db16caf28c [Semaphore] Replace Mutex with SpinLock 2024-08-30 22:52:24 +08:00
b17e3e24d8 [Semaphore] Avoid using CurrentUserSpace::get 2024-08-30 22:52:24 +08:00
d88d8fd307 [Semaphore] Remove duplicate PID and time settings 2024-08-30 22:52:24 +08:00
3297976700 [Semaphore] Optimize the update_pending_ops 2024-08-30 22:52:24 +08:00
a8970daec2 [Semaphore] Remove Box in pending_ops 2024-08-30 22:52:24 +08:00
b3b5e136bd Delay the canonicalization until after processing the CLI arguments 2024-08-30 22:46:34 +08:00
539984bbed Replace read with read_raw 2024-08-29 21:10:17 +08:00
a06662b58e Read rflags directly in is_local_enabled 2024-08-29 21:10:17 +08:00
eff41b6e97 Enable loopback network device in Linux 2024-08-29 20:21:10 +08:00
83d42d0783 Add lmbench localhost UDP latency test 2024-08-29 20:21:10 +08:00
a84ed69f5f Add lmbench localhost TCP latency test 2024-08-29 20:21:10 +08:00
34352dc0d9 Add lmbench TCP connect latency test 2024-08-29 20:21:10 +08:00
316e4bf2c6 Add lmbench localhost TCP bandwidth test 2024-08-29 20:21:10 +08:00
9fec6ce95a Add lmbench HTTP latency test 2024-08-29 20:21:10 +08:00
936da1d6df Add lmbench select TCP test 2024-08-29 20:21:10 +08:00
ce7413c0fd Fix panic when print stack trace for panic 2024-08-29 17:18:02 +08:00
6ce25dc38b Fix lock releasing of fcntl 2024-08-29 17:06:01 +08:00
be8cc24544 Fix infinite waiting of range locks 2024-08-29 17:06:01 +08:00
00d9b01d5c Add a fast path to page table fork 2024-08-29 12:31:03 +08:00
ba884127e2 Change kstack size to 7 when running benchmark 2024-08-29 12:31:03 +08:00
5bc696a85a Make the allocated segment uninitialized in the ring buffer 2024-08-29 12:30:04 +08:00
e6f465b553 Replace all the ring buffers with the new one 2024-08-29 00:33:47 +08:00
923b3704d7 Add a new ring buffer backed by a Segment 2024-08-29 00:33:47 +08:00
59b7a9397f Fix deadlock while acquiring lock on local runqueue 2024-08-29 00:32:12 +08:00
21a1041d27 Clean up files generated by UNIX regression tests 2024-08-28 19:54:36 +08:00
65aa156e92 Implement UNIX abstract address namespace 2024-08-28 19:54:36 +08:00
aae9fdb331 Add assembly memset for fast filling zeros 2024-08-28 18:06:04 +08:00
a72c7dadf3 Optimize the latency of lmbench-signal-prot 2024-08-28 14:27:41 +08:00
7b58d97aa2 Add regression test for SO_REUSEADDR 2024-08-28 14:01:18 +08:00
434f143e30 Pass can reuse to bind_socket 2024-08-28 14:01:18 +08:00
dc4df47007 Implement UDP getsockopt and setsockopt 2024-08-28 14:01:18 +08:00