cleanup: replace magic 1024 page limit with ProcessMemory::DEFAULT_PAGE_LIMIT

This commit is contained in:
2026-10-18 22:43:18 +02:00
parent 73eed4e5b7
commit cbabe2abfe
3 changed files with 5 additions and 3 deletions

View File

@@ -17,6 +17,8 @@ pub struct ProcessMemory {
}
impl ProcessMemory {
pub const DEFAULT_PAGE_LIMIT: usize = 1024;
pub fn new(process: ProcessId, limit: usize) -> Self {
Self {
process,