Commit Graph

1323 Commits

Author SHA1 Message Date
Marsman1996 fda0fa0512 Align `len` in `madvise` 2024-08-20 13:10:00 +08:00
Marsman1996 22f9c072f3 Move the check location following Linux behaviors 2024-08-20 13:10:00 +08:00
Marsman1996 18607c33ea Fix panic in `madv_free()` 2024-08-20 13:10:00 +08:00
Yuke Peng bbe43d76cc Fix compile error due to `lock_irq_disabled` 2024-08-19 16:52:51 +08:00
Yuke Peng c6d381bc19 Refine documentations 2024-08-18 23:58:51 +08:00
Yuke Peng b198794e3e Extract DMA remapping feature 2024-08-18 23:58:51 +08:00
Yuke Peng 0bf3595964 Extract IOMMU register operations 2024-08-18 23:58:51 +08:00
Yuke Peng 63b42bff73 Add register descriptions 2024-08-18 23:58:51 +08:00
Yuke Peng 7d0638958c Fix IOMMU permission check issue 2024-08-18 23:58:51 +08:00
Ruihan Li e3307a6945 Use `Connected` to replace `Endpoint` 2024-08-18 23:57:56 +08:00
Ruihan Li 639eedb2e1 Remove unused error code 2024-08-18 23:57:56 +08:00
Ruihan Li 47857fc10f Fix remote addresses in connected UNIX sockets 2024-08-18 23:57:56 +08:00
Ruihan Li a3d4748d6b Fix behavior in UNIX socket `listen()` 2024-08-18 23:57:56 +08:00
Ruihan Li ac19a7e0e7 Fix race conditions in UNIX socket `listen()` 2024-08-18 23:57:56 +08:00
Ruihan Li a2d94675eb Move `impl Drop` to UNIX listeners 2024-08-18 23:57:56 +08:00
Ruihan Li 98e2a99195 Store `Arc<Backlog>` in UNIX listeners 2024-08-18 23:57:56 +08:00
Yuke Peng 994f3727d8 Introduce somaxconn to restrict backlog 2024-08-18 23:56:40 +08:00
Yuke Peng dee0956921 Add lmbench file locking latency test 2024-08-18 23:20:57 +08:00
Yuke Peng 8ce86e4d98 Add lmbench signal protection test 2024-08-18 23:20:57 +08:00
Yuke Peng 21255655c0 Add lmbench mmap latency test 2024-08-18 23:20:57 +08:00
Yuke Peng 9e2956b4a3 Add lmbench mmap bandwidth test 2024-08-18 23:20:57 +08:00
Yuke Peng 46d45de37a Change the log level of page fault handler failed 2024-08-18 23:20:57 +08:00
Fabing Li 36a2f40d07 Enhance the stability of lmbench-mem 2024-08-18 21:10:33 +08:00
Cautreoxit c44447d54b Refactor the API of spinlocks 2024-08-18 21:06:40 +08:00
Yuke Peng 0160a85ccd Add semaphore gvisor test 2024-08-18 16:37:39 +08:00
Yuke Peng 60ef523aaf Implement semctl syscall 2024-08-18 16:37:39 +08:00
Yuke Peng 9d83e76931 Implement semop and semtimedop syscall 2024-08-18 16:37:39 +08:00
Yuke Peng 4530253a99 Implement semget syscall 2024-08-18 16:37:39 +08:00
Yuke Peng b7a5f797de Add System V semaphore basic support 2024-08-18 16:37:39 +08:00
Yuke Peng 6430ef1841 Add LMbench lat_sem test 2024-08-18 16:37:39 +08:00
Fabing Li ce2af1eb05 Add flock and sys_flock 2024-08-17 18:18:23 +08:00
Fabing Li cbd8879243 Add range lock and sys_fcntl 2024-08-17 18:18:23 +08:00
Fabing Li 4a2da992a6 Add Extension implementation on inode for lock storing 2024-08-17 18:18:23 +08:00
Zhang Junyang 0c9b7c03bb Get ACPI RSDP from EFI tables if not provided in `boot_params` 2024-08-17 18:14:27 +08:00
Chen Chengjun 803f059493 Add page fault lmbench 2024-08-17 18:07:09 +08:00
Chen Chengjun 9c7fd8fef5 Add dummy msync 2024-08-17 18:07:09 +08:00
Marsman1996 cf30599729 Propagate errors of futex operations when used in futex syscall instead of panic on them
by @jellllly420
2024-08-17 18:01:32 +08:00
Marsman1996 4c1f6a4e32 Fix panic in futex and rt_sigprocmask 2024-08-17 18:01:32 +08:00
Chen Chengjun 364ef48e2f Fix a concurrency bug in clocksource 2024-08-17 17:57:26 +08:00
Jianfeng Jiang 0291b5dc6b Optimize the latency of lmbench-select-file 2024-08-16 11:19:29 +08:00
Marsman1996 5b5f9cffd1 Fix panic when transfer `how` to enum in sys_rt_sigprocmask() 2024-08-16 11:14:11 +08:00
Chen Chengjun 40c2acf29d Add shared filebacked mmap test 2024-08-16 10:45:16 +08:00
Chen Chengjun 2ca7b28bbc Refactor the elf loading logics 2024-08-16 10:45:16 +08:00
Chen Chengjun 950fbc131b Implement resize mapping and modify the brk implementation 2024-08-16 10:45:16 +08:00
Chen Chengjun 4bf355af50 Refactor mmap and support shared filebacked mmap 2024-08-16 10:45:16 +08:00
Chen Chengjun 19184d5c3d Remove the concept of child VMOs and clean-up VMO implementations 2024-08-16 10:45:16 +08:00
Chen Chengjun 9f9169adfe Modify the Vmar APIs to fit the modifications of VmMapping 2024-08-16 10:45:16 +08:00
Chen Chengjun ff842cb778 VMOs only provide pages to mappings and anonymous mappings are decoupled from VMOs 2024-08-16 10:45:16 +08:00
Chen Chengjun cb56e6368d Do some clean-up for vdso.rs 2024-08-16 10:45:16 +08:00
Chen Chengjun 24e7f77803 Add duplicate_frame method 2024-08-16 10:45:16 +08:00