[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] Live-Patch application failure in core-scheduling mode
- To: Jürgen Groß <jgross@xxxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxx>
- From: Sergey Dyasli <sergey.dyasli@xxxxxxxxxx>
- Date: Thu, 6 Feb 2020 11:05:22 +0000
- Authentication-results: esa4.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none; spf=None smtp.pra=sergey.dyasli@xxxxxxxxxx; spf=Pass smtp.mailfrom=sergey.dyasli@xxxxxxxxxx; spf=None smtp.helo=postmaster@xxxxxxxxxxxxxxx
- Autocrypt: addr=sergey.dyasli@xxxxxxxxxx; keydata= xsFNBFtMVHEBEADc/hZcLexrB6vGTdGqEUsYZkFGQh6Z1OO7bCtM1go1RugSMeq9tkFHQSOc 9c7W9NVQqLgn8eefikIHxgic6tGgKoIQKcPuSsnqGao2YabsTSSoeatvmO5HkR0xGaUd+M6j iqv3cD7/WL602NhphT4ucKXCz93w0TeoJ3gleLuILxmzg1gDhKtMdkZv6TngWpKgIMRfoyHQ jsVzPbTTjJl/a9Cw99vuhFuEJfzbLA80hCwhoPM+ZQGFDcG4c25GQGQFFatpbQUhNirWW5b1 r2yVOziSJsvfTLnyzEizCvU+r/Ek2Kh0eAsRFr35m2X+X3CfxKrZcePxzAf273p4nc3YIK9h cwa4ZpDksun0E2l0pIxg/pPBXTNbH+OX1I+BfWDZWlPiPxgkiKdgYPS2qv53dJ+k9x6HkuCy i61IcjXRtVgL5nPGakyOFQ+07S4HIJlw98a6NrptWOFkxDt38x87mSM7aSWp1kjyGqQTGoKB VEx5BdRS5gFdYGCQFc8KVGEWPPGdeYx9Pj2wTaweKV0qZT69lmf/P5149Pc81SRhuc0hUX9K DnYBa1iSHaDjifMsNXKzj8Y8zVm+J6DZo/D10IUxMuExvbPa/8nsertWxoDSbWcF1cyvZp9X tUEukuPoTKO4Vzg7xVNj9pbK9GPxSYcafJUgDeKEIlkn3iVIPw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oa4ZUH37CezD01Ph4O1saln5+M4blHCEAUpZIkTGpUoi SEwtoxu6EEUYfbcjWgzJCs023hbRykZlFALoRNCwVz/FnPuVu291jn9kjvCTEeE6g2dCtOrO ukuXzk1tIeeoggsU7AJ0bzP7QOEhEckaBbP4k6ic26LJGWNMinllePyEMXzsgmMHVN//8wDT NWaanhP/JZ1v5Mfn8s1chIqC0sJIw73RvvuBkOa+jx0OwW3RFoQ=
- Cc: Ross Lagerwall <ross.lagerwall@xxxxxxxxxx>, "sergey.dyasli@xxxxxxxxxx >> Sergey Dyasli" <sergey.dyasli@xxxxxxxxxx>, George Dunlap <George.Dunlap@xxxxxxxxxx>, Jan Beulich <JBeulich@xxxxxxxx>, Dario Faggioli <dfaggioli@xxxxxxxx>
- Delivery-date: Thu, 06 Feb 2020 11:05:57 +0000
- Ironport-sdr: fP5EoB3A6gCyOt35SIP0XmdlT/p17WHMqELBHpzWvKm1ts7lXp10KWrAnWliMbYNWR+oIK6X5G VTpYfjWm9UkiHwXZCVmk+gmFsyESVoZ3/qjmK2izcb15HoJ8ICXa6wgR+NMggh/VRkyEIgPUPc NMkX95XDeBzn2NFBEBmnbFrHZHiHNbiscposp0qWyjRC0BVQ/cYWc1hDD00YVJAK4+XUBomneK lGSWf+V9VDP+QfjBEnVQQhRvFhC1gN0u5phUpSlCd145yAdmj/4H81O3fQrQV1bZNWS191w9Wf j+4=
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 06/02/2020 09:57, Jürgen Groß wrote:
> On 05.02.20 17:03, Sergey Dyasli wrote:
>> Hello,
>>
>> I'm currently investigating a Live-Patch application failure in core-
>> scheduling mode and this is an example of what I usually get:
>> (it's easily reproducible)
>>
>> (XEN) [ 342.528305] livepatch: lp: CPU8 - IPIing the other 15 CPUs
>> (XEN) [ 342.558340] livepatch: lp: Timed out on semaphore in CPU
>> quiesce phase 13/15
>> (XEN) [ 342.558343] bad cpus: 6 9
>>
>> (XEN) [ 342.559293] CPU: 6
>> (XEN) [ 342.559562] Xen call trace:
>> (XEN) [ 342.559565] [<ffff82d08023f304>] R
>> common/schedule.c#sched_wait_rendezvous_in+0xa4/0x270
>> (XEN) [ 342.559568] [<ffff82d08023f8aa>] F
>> common/schedule.c#schedule+0x17a/0x260
>> (XEN) [ 342.559571] [<ffff82d080240d5a>] F
>> common/softirq.c#__do_softirq+0x5a/0x90
>> (XEN) [ 342.559574] [<ffff82d080278ec5>] F
>> arch/x86/domain.c#guest_idle_loop+0x35/0x60
>>
>> (XEN) [ 342.559761] CPU: 9
>> (XEN) [ 342.560026] Xen call trace:
>> (XEN) [ 342.560029] [<ffff82d080241661>] R _spin_lock_irq+0x11/0x40
>> (XEN) [ 342.560032] [<ffff82d08023f323>] F
>> common/schedule.c#sched_wait_rendezvous_in+0xc3/0x270
>> (XEN) [ 342.560036] [<ffff82d08023f8aa>] F
>> common/schedule.c#schedule+0x17a/0x260
>> (XEN) [ 342.560039] [<ffff82d080240d5a>] F
>> common/softirq.c#__do_softirq+0x5a/0x90
>> (XEN) [ 342.560042] [<ffff82d080279db5>] F
>> arch/x86/domain.c#idle_loop+0x55/0xb0
>>
>> The first HT sibling is waiting for the second in the LP-application
>> context while the second waits for the first in the scheduler context.
>>
>> Any suggestions on how to improve this situation are welcome.
>
> Can you test the attached patch, please? It is only tested to boot, so
> I did no livepatch tests with it.
Thank you for the patch! It seems to fix the issue in my manual testing.
I'm going to submit automatic LP testing for both thread/core modes.
--
Thanks,
Sergey
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel
|