diff --git a/src/system/kernel/vm/vm_page.cpp b/src/system/kernel/vm/vm_page.cpp index 63d4f24c11..e488e9f7ab 100644 --- a/src/system/kernel/vm/vm_page.cpp +++ b/src/system/kernel/vm/vm_page.cpp @@ -851,6 +851,10 @@ page_thief(void* /*unused*/) continue; } if (page->state != PAGE_STATE_INACTIVE) { + // TODO: if this is an active page (as in stealActive), we need + // to unmap it and check if it's modified in an atomic operation. + // For now, we'll just ignore it, even though this might let + // vm_page_allocate_page() wait forever... mutex_unlock(&cache->lock); vm_cache_release_ref(cache); continue;