|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] xen/arm: Domain not fully destroyed when using credit2
On 24/01/17 13:04, Julien Grall wrote: Hi Dario, On 24/01/17 12:53, Dario Faggioli wrote:On Tue, 2017-01-24 at 10:50 +0000, Julien Grall wrote:On 24/01/2017 08:20, Jan Beulich wrote:On 23.01.17 at 20:42, <julien.grall@xxxxxxx> wrote:The function domain_destroy will setup the RCU callback (complete_domain_destroy) by calling call_rcu. call_rcu will add the callback into the RCU list and then will may send an IPI (see force_quiescent_state) if the threshold reached. This IPI is here to make sure all CPUs are quiescent before calling the callbacks (e.g complete_domain_destroy). In my case, the threshold has not reached and therefore an IPI is not sent.But wait - isn't it the nature of RCU that it may take arbitrary time until the actual call(s) happen(s)?Today this arbitrary time could be infinite if an idle pCPU does not receive an interrupt. So some part of domain resource will never be freed. If I am power-cycling a domain in loop, after some time the toolstack will fail to allocate memory because of exhausted resources. Previous instance of the domain was not yet fully destroyed (e.g complete_domain_destroy was not called).Do you have a script and/or some more info for letting me try to reproduce it (e.g., you say some otf the vCPUs are pinned, which one? etc)? To clarify here, DOM0 has only 2 vCPUs. Both are pinned.
-- Julien Grall _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |