cleanup: replace magic 1024 page limit with ProcessMemory::DEFAULT_PAGE_LIMIT
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user