added a panic into a loop that often causes a deadlock here
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16381 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
fbe9b0b6eb
commit
e87d23b1a7
|
@ -367,6 +367,8 @@ map_tmap(vm_translation_map *map, addr_t va, addr_t pa, uint32 attributes)
|
||||||
do {
|
do {
|
||||||
err = get_physical_page_tmap(ADDR_REVERSE_SHIFT(pd[index].addr),
|
err = get_physical_page_tmap(ADDR_REVERSE_SHIFT(pd[index].addr),
|
||||||
(addr_t *)&pt, PHYSICAL_PAGE_NO_WAIT);
|
(addr_t *)&pt, PHYSICAL_PAGE_NO_WAIT);
|
||||||
|
// XXX this loop deadlocks
|
||||||
|
if (err) panic("map_tmap: get_physical_page_tmap failed");
|
||||||
} while (err < 0);
|
} while (err < 0);
|
||||||
index = VADDR_TO_PTENT(va);
|
index = VADDR_TO_PTENT(va);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue