Zhang Junyang
5ea366bced
Move kcmdline parsing out of OSTD
2025-01-02 10:41:51 +08:00
Zhang Junyang
397ce9652f
Refactor boot modules to make heap allocation explicit
2025-01-02 10:41:51 +08:00
Zhang Junyang
51349a3da1
Heapless memory region initialization
2025-01-02 10:41:51 +08:00
jiangjianfeng
0c8200dc7b
Add nginx benchmark and workaround
2025-01-01 10:43:14 +08:00
Qingsong Chen
56a137dc56
Add mlsdisk as a component
...
Co-authored-by: Shaowei Song <songshaowei.ssw@antgroup.com>
2025-01-01 09:19:32 +08:00
jiangjianfeng
631ab21838
Set hash buckets as 2 to work around performance bottleneck
2024-12-31 13:19:30 +08:00
Ruihan Li
7334c93ff5
Make bigtcp error wrappers consistent
2024-12-30 21:41:51 +08:00
jiangjianfeng
39cc0dca26
Add socket hash table
2024-12-30 09:46:14 +08:00
jiangjianfeng
783345b90b
Add Bob Jenkins's hash algorithm
2024-12-30 09:46:14 +08:00
js2xxx
0d30ce0b2c
Improve readability on SchedPolicy
storage & reduce memory foot print on sched entities
2024-12-30 09:38:48 +08:00
js2xxx
364d6af7c8
Reduce the held time of scheduling policy lock
2024-12-30 09:38:48 +08:00
Zejun Zhao
ea953209ff
Add a fast path while picking next thread from RT scheduling class
2024-12-28 14:30:33 +08:00
Shaowei Song
f739c67ed3
Issue device sync request at the end of ext2's sync
2024-12-27 12:23:19 +08:00
Shaowei Song
4d5d0942ad
Minor improvements to ext2 inode
2024-12-27 12:23:19 +08:00
Shaowei Song
0799976018
Improve directory entry handling efficiency in ext2
2024-12-27 12:23:19 +08:00
Zhang Junyang
ff453f5933
Use CachePage
in all related block functions
2024-12-27 12:12:51 +08:00
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
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
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
Ruihan Li
0bfe7aceb8
Utilize ThreadLocal
2024-12-26 14:51:20 +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
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
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
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
jiangjianfeng
72cb160539
Add keepidle tcp option
2024-12-18 13:19:34 +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
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
Ruihan Li
35c20620bc
Rewrite exit()
and exit_group()
2024-12-17 19:36:38 +08:00
Zejun Zhao
bc5a058fc5
Add TODO for a potential vulnerability in futex implementation
2024-12-16 21:12:08 +08:00
Zejun Zhao
1b56a8b600
Enable syscall restart
2024-12-16 21:12:08 +08:00
Zejun Zhao
ced0023d6b
Introduce a syscall restart mechanism
2024-12-16 21:12:08 +08:00
Zhang Junyang
285dde5546
Set affinity for BSP idle thread
2024-12-16 19:15:59 +08:00
Fabing Li
327a6b5e30
Export /proc/self-thread
2024-12-15 16:52:24 +08:00
Fabing Li
532dac8fe3
Export /proc/[pid]/task and /proc/[pid]/task/[tid]
2024-12-15 16:52:24 +08:00
jiangjianfeng
58cf8ea681
Set keepalive and tcp_nodelay on underlying sockets
2024-12-15 16:50:43 +08:00