Commit Graph

14 Commits

Author SHA1 Message Date
ff453f5933 Use CachePage in all related block functions 2024-12-27 12:12:51 +08:00
983a6af3cc Polish the doc and rename variables in ostd::mm 2024-12-27 12:12:51 +08:00
cdac59beda Implement a new set of physical page APIs 2024-12-27 12:12:51 +08:00
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
e75b6320ad Add support for group-based permission checking in ext2 2024-12-26 17:07:55 +08:00
21da6d2b93 Optimize lock usage in ext2 inodes 2024-12-20 09:36:16 +08:00
53b873f647 Add get_mut methods for locks 2024-12-15 16:36:54 +08:00
ecad132ec9 Refactor the block layer by introducing BioSegmentPool 2024-12-02 13:25:20 +08:00
29ebfa3934 Remove BlocksHoleDesc in ext2 for efficiency and fairness 2024-12-02 13:25:20 +08:00
9e4257b655 Fix multiple issues pointed out by the new compiler 2024-10-13 22:32:05 +08:00
909639fd70 Separate SegmentSlice from Segment 2024-10-09 19:23:46 +08:00
228cfe2262 Preallocate some space when expanding size in ext2 2024-09-21 20:22:39 +08:00
86f09eef75 Fix all spelling mistakes in history by typos tool 2024-08-27 12:19:48 +08:00
dafd16075f Remove the shim kernel crate 2024-08-23 23:37:50 +08:00