mirror of
https://review.haiku-os.org/haiku
synced 2025-02-22 13:38:56 +01:00
kernel/vm: Check the page's cache in the "supposed to be free page" panic.
Change-Id: I8db000723f67023c845b79721385a9e1ebc6cef7 Reviewed-on: https://review.haiku-os.org/c/haiku/+/8368 Reviewed-by: waddlesplash <waddlesplash@gmail.com>
This commit is contained in:
parent
b665a3ab2a
commit
5ea41d287c
@ -3655,7 +3655,7 @@ vm_page_allocate_page(vm_page_reservation* reservation, uint32 flags)
|
||||
}
|
||||
|
||||
if (page->CacheRef() != NULL)
|
||||
panic("supposed to be free page %p has cache @! page -m %p", page, page);
|
||||
panic("supposed to be free page %p has cache @! page %p; cache _cache", page, page);
|
||||
|
||||
DEBUG_PAGE_ACCESS_START(page);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user