|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v2] xen/domain: fix domain_pause() and domain_unpause()
On 02.12.26 14:38, Jan Beulich wrote: On 02.12.2026 11:22, Juergen Gross wrote:Calls of domain_pause() can be nested. So there should be no action other than handling the paused counter if a nested call is detected. Especially calling arch_domain_unpause() unconditionally in domain_unpause() is wrong, but the actions in domain_pause() can be skipped, too, if the domain was paused already.The description feels somewhat stale with the v2 change. As does the title - domain_pause() is only being improved, but not really fixed in any way. All of that suggests that an atomic counter isn't the correct solution here, a lock would probably be better. As domain_pause isn't a critical path, the potential performance impact should be neglectable. Juergen Attachment:
OpenPGP_signature.asc
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |