Commit Graph

1880 Commits

Author SHA1 Message Date
Zhang Junyang 983a6af3cc Polish the doc and rename variables in `ostd::mm` 2024-12-27 12:12:51 +08:00
Zhang Junyang f332797084 Use frame metadada for page cache 2024-12-27 12:12:51 +08:00
Zhang Junyang cdac59beda Implement a new set of physical page APIs 2024-12-27 12:12:51 +08:00
Zhang Junyang 6e1c36965a Allow `Segment<dyn FrameMeta>` 2024-12-27 12:12:51 +08:00
Zhang Junyang ef6ff7ad84 Let frame on-drop call backs take readers 2024-12-27 12:12:51 +08:00
Zhang Junyang 14308f81b6 Remove `AnyFrame` 2024-12-27 12:12:51 +08:00
Zhang Junyang c9a37ccab1 Renaming concepts around pages and frames
This commit renames `Frame` -> `UntypedFrame` and `Page` -> `Frame`.
So do other concepts in the following list:
 - `Segment` -> `UntypedSegment`,
 - `ContPages` -> `Segment`,
 - `DynPage` -> `AnyFrame`,
 - `PageMeta` -> `FrameMeta`,
 - `FrameMeta` -> `UntypedMeta`.

This commit also re-organized the source in the `mm/page` and `mm/frame`
module to accommodate the changes.
2024-12-27 12:12:51 +08:00
Zhang Junyang 10f1856306 Remove the vectorized page allocation 2024-12-27 12:12:51 +08:00
Shaowei Song 2f82ca846f Work around the compile error caused by crate "unwinding" 2024-12-27 10:34:06 +08:00
Cautreoxit 5ec4c095c1 Fix bug for memcached install 2024-12-27 07:55:28 +08:00
Cautreoxit bd89c9c578 Bump the version to 0.11.0 2024-12-26 19:20:58 +08:00
Cautreoxit 7a02affd2a Add Memcached and libmemcached to the Dockerfile 2024-12-26 19:20:58 +08:00
Marsman1996 5df8d59563 Exit when handle_user_signal fail 2024-12-26 18:33:32 +08:00
anbo225 e75b6320ad Add support for group-based permission checking in ext2 2024-12-26 17:07:55 +08:00
Zejun Zhao 6cea8d2a8c Make stop runqueue per-CPU 2024-12-26 14:54:22 +08:00
Fabing Li 87da1a0787 Enhance the search pattern 2024-12-26 14:52:56 +08:00
Ruihan Li 0bfe7aceb8 Utilize `ThreadLocal` 2024-12-26 14:51:20 +08:00
Ruihan Li 38fcaaf749 Implement the task local data 2024-12-26 14:51:20 +08:00
jiangjianfeng 3dbdef4d6c Add several lmbench network benchmark 2024-12-26 09:08:21 +08:00
Marsman1996 3e47ed10fd Check name when `lookup_child` in `TaskDirOps` 2024-12-26 09:06:18 +08:00
Marsman1996 9753d796c5 Add overflow check for futex_addr 2024-12-26 09:05:24 +08:00
Ruihan Li 5aa73d3bcf Use `REF_COUNT_MAX` to avoid overflowing 2024-12-25 18:20:36 +08:00
Ruihan Li f03ffd0d10 Use `REF_COUNT_UNUSED` to ensure exclusive access 2024-12-25 18:20:36 +08:00
Ruihan Li a2863d6db3 Use `MaybeUninit` to store metadata vtable 2024-12-25 18:20:36 +08:00
Marsman1996 1a5bf7b0ad Add overflow check for given sigaltstack addr and size 2024-12-25 15:46:17 +08:00
Ruihan Li 7c249cf0ca Fix the memory order in `Subject` 2024-12-25 15:28:35 +08:00
Fabing Li 8a27f7a3b5 Clarify the naming conventions under benchmark/schbench/ 2024-12-24 15:25:55 +08:00
Wang Siyuan 6e46641a09 Fix a mmap `MAP_FIXED` issue 2024-12-24 09:10:10 +08:00
Wang Siyuan 1e3403e756 Support ELF files with zero `p_filesz`. 2024-12-22 15:16:22 +08:00
Fabing Li 6f98c4900d Bump version to 0.10.3 2024-12-20 09:49:35 +08:00
Fabing Li 8066f99e88 Add yq to asterinas image 2024-12-20 09:49:35 +08:00
Zejun Zhao 781cb179ff Add scheduler benchmarks to benchmark CI 2024-12-20 09:46:23 +08:00
Zejun Zhao 7cf8df4c3c Make nth_occurrence configurable in benchmark CI 2024-12-20 09:46:23 +08:00
Zejun Zhao e4beb6e0a7 Make SMP configurable in benchmark CI 2024-12-20 09:46:23 +08:00
Shaowei Song 104c8dfdde Optimize the `DirEntry` lookup in ext2 2024-12-20 09:36:16 +08:00
Shaowei Song 21da6d2b93 Optimize lock usage in ext2 inodes 2024-12-20 09:36:16 +08:00
Marsman1996 3d12ccdbea Warn unsupported clone flags instead of panic 2024-12-20 09:21:25 +08:00
jiangjianfeng 9a540d0fb6 Notify virtqueue in a batch manner 2024-12-19 14:49:56 +08:00
Yuke Peng acc10376e6 Update benchmark README 2024-12-18 14:53:25 +08:00
Yuke Peng efac408524 Update FIO benchmark CI 2024-12-18 14:53:25 +08:00
Yuke Peng 0397e7281e Enable IOMMU scheme by default in CI 2024-12-18 14:53:25 +08:00
jiangjianfeng 72cb160539 Add keepidle tcp option 2024-12-18 13:19:34 +08:00
Shaowei Song 547c92d2ff Add a simple test for POSIX shared memory 2024-12-18 12:26:33 +08:00
Shaowei Song 00b194812d Prepare "/dev/shm" for POSIX shared memory 2024-12-18 12:26:33 +08:00
lab-pc-wtj 6e4a4c58d0 Improve /proc/{PID}/stat 2024-12-18 10:00:15 +08:00
Ruihan Li 776fd6a892 Create backlog sockets on demand 2024-12-17 20:14:53 +08:00
Fabing Li a739848464 Block ProcCpuinfo cases temporarily 2024-12-17 20:14:13 +08:00
Fabing Li 24f1e02b26 Support prctl(PR_SET_KEEPCAPS/PR_GET_KEEPCAPS) 2024-12-17 20:14:13 +08:00
Fabing Li d72ce0351a Add permission checks for sys_capset 2024-12-17 20:14:13 +08:00
Fabing Li 636efe68fd Give root process a full capability set 2024-12-17 20:14:13 +08:00