|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] {PATCH] Add p2m_lock in set_shared_p2m_entry
Hi, Tim
Thanks. I'll have to make a slightly more complex fix, as
set_shared_p2m_entry() can be called (via p2m_teardown() and
mem_sharing_unshare_page()) with the p2m lock already held. :(
Actually our original problem is the mem_sharing_share_pages() doesn't hold the p2m lock when calling set_shared_p2m_entry(), which causes the share operation to die.
That's a sign of a deeper illness which will probably lead to deadlocks
elsewhere. I intend to give the MM locking (p2m, shadow, hap, log-dirty
and page-sharing locks) a good kicking some time soon, maybe after 4.1
is released.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|