diff options
-rw-r--r-- | src/kernel/block.C | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/kernel/block.C b/src/kernel/block.C index 5b24ae1a6..b3fefa55a 100644 --- a/src/kernel/block.C +++ b/src/kernel/block.C @@ -386,8 +386,10 @@ void Block::castOutPages(uint64_t i_type) if((iv_baseAddr != VMM_ADDR_BASE_BLOCK) && // Skip base area (iv_baseAddr != VMM_ADDR_EXTEND_BLOCK)) // Skip extended memory. { + // NOTE: All LRU constraints must be < 7, since getLRU() only reports + // 3 bits worth of size (despite the uint8_t return type). size_t rw_constraint = 5; - size_t ro_constraint = 10; + size_t ro_constraint = 6; if(i_type == VmmManager::CRITICAL) { |