Re: [Xen-devel] [RFC 0/6] XEN scheduling hardening

2019-07-29 Thread Dario Faggioli
On Mon, 2019-07-29 at 17:47 +0300, Andrii Anisov wrote: > On 26.07.19 15:14, Juergen Gross wrote: > > > > > > Tasklets are sometimes used to perform async actions which can't be > > done > > in guest vcpu context. > > [...] > > Like switching a domain to shadow mode for L1TF > > mitigation, > > S

Re: [Xen-devel] [RFC 0/6] XEN scheduling hardening

2019-07-29 Thread Andrii Anisov
Hello Juergen, On 26.07.19 15:14, Juergen Gross wrote:   - How to avoid the absolute top priority of tasklets (what is obeyed by all     schedulers so far). Should idle vcpu be scheduled as the normal guest vcpus     (through queues, priorities, etc)? Now, this is something to think about, and

Re: [Xen-devel] [RFC 0/6] XEN scheduling hardening

2019-07-29 Thread Andrii Anisov
Hello Dario On 26.07.19 14:56, Dario Faggioli wrote: [Adding George plus others x86, ARM and core-Xen people] Hi Andrii, First of all, thanks a lot for this series! The problem you mention is a long standing one, and I'm glad we're eventually starting to properly look into it. I already have

Re: [Xen-devel] [RFC 0/6] XEN scheduling hardening

2019-07-29 Thread Juergen Gross
On 29.07.19 13:53, Dario Faggioli wrote: On Fri, 2019-07-26 at 14:14 +0200, Juergen Gross wrote: On 26.07.19 13:56, Dario Faggioli wrote: On Fri, 2019-07-26 at 13:37 +0300, Andrii Anisov wrote: - How to avoid the absolute top priority of tasklets (what is obeyed by all schedulers so fa

Re: [Xen-devel] [RFC 0/6] XEN scheduling hardening

2019-07-29 Thread Dario Faggioli
On Fri, 2019-07-26 at 14:14 +0200, Juergen Gross wrote: > On 26.07.19 13:56, Dario Faggioli wrote: > > On Fri, 2019-07-26 at 13:37 +0300, Andrii Anisov wrote: > > > - How to avoid the absolute top priority of tasklets (what is > > > obeyed > > > by all > > > schedulers so far). Should idle vc

Re: [Xen-devel] [RFC 0/6] XEN scheduling hardening

2019-07-26 Thread Juergen Gross
On 26.07.19 13:56, Dario Faggioli wrote: [Adding George plus others x86, ARM and core-Xen people] Hi Andrii, First of all, thanks a lot for this series! The problem you mention is a long standing one, and I'm glad we're eventually starting to properly look into it. I already have one comment:

Re: [Xen-devel] [RFC 0/6] XEN scheduling hardening

2019-07-26 Thread Dario Faggioli
[Adding George plus others x86, ARM and core-Xen people] Hi Andrii, First of all, thanks a lot for this series! The problem you mention is a long standing one, and I'm glad we're eventually starting to properly look into it. I already have one comment: I think I can see from where this come fro