fix: capacities single-sourced in types (display MAX_WINDOWS/BUFFER_PAGES, storage MAX_CLIENTS), display + storage budgets derived from them, const asserts on VA layouts; kernel regions 64 -> 256
This commit is contained in:
@@ -9,8 +9,7 @@ use crate::scope::Scope;
|
||||
|
||||
mod session;
|
||||
|
||||
/// Connections at once: every program reading files, apps among them.
|
||||
const MAX_CLIENTS: usize = 16;
|
||||
use types::storage::MAX_CLIENTS;
|
||||
/// Handles at or past this are never valid (the file systems hand out
|
||||
/// fewer), so ownership fits a small table.
|
||||
const MAX_HANDLES: usize = 16;
|
||||
|
||||
Reference in New Issue
Block a user