Displaying 1 result from an estimated 1 matches for "shadow_remove_all_access".
2005 May 11
4
Should shadow_lock be spin_lock_recursive?
During our testing, we found this code path where xen attempts to grab
the shadow_lock, while holding it - leading to a deadlock.
>> free_dom_mem->
>> shadow_sync_and_drop_references->
>> shadow_lock -> ..................... first lock
>> shadow_remove_all_access->
>> remove_all_access_in_page->
>> put_page->
>> free_domheap_pages->
>> shadow_drop_references->
>> shadow_lock -> ..................... second lock
Questions:
- should shadow lock be recursive?
- is shadow lock too coarse grained? It seems t...