From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: SVM: vmload/vmsave-free VM exits? Date: Mon, 13 Apr 2015 21:07:55 +0300 Message-ID: <552C05FB.5060604@gmail.com> References: <5520F2C8.7090102@web.de> <55216CE5.9000504@gmail.com> <55236E6F.7090705@web.de> <552B69C7.5040205@siemens.com> <552BFCF8.3080607@gmail.com> <552BFE51.3000908@siemens.com> <552BFFB0.9020008@gmail.com> <552C0150.2090204@gmail.com> <552C0376.30102@siemens.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Cc: Valentine Sinitsyn , kvm , Jailhouse To: Jan Kiszka , Joel Schopp Return-path: In-Reply-To: <552C0376.30102@siemens.com> List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , List-Id: kvm.vger.kernel.org On 04/13/2015 08:57 PM, Jan Kiszka wrote: > On 2015-04-13 19:48, Avi Kivity wrote: >> I think that Xen does (or did) something along the lines of disabling >> IST usage (by playing with the descriptors in the IDT) and then >> re-enabling them when exiting to userspace. > So we would reuse that active stack for the current IST users until > then. Yes. > But I bet there are subtle details that prevent a simple switch at > IDT level. Hmm, no low-hanging fruit it seems... For sure. It's not insurmountable, but fairly hard. >> >>> [17] http://thread.gmane.org/gmane.comp.emulators.kvm.devel/26712/ > That thread proposed the complete IST removal. But, given that we still > have it 7 years later, Well, it's not as if a crack team of kernel hackers was laboring night and day to remove it, but... > I suppose that was not very welcome in general. Simply removing it is impossible, or an NMI happening immediately after SYSCALL will hit user-provided %rsp. > Thanks, > Jan > > PS: For the Jailhouse readers: we don't use IST. > You don't have userspace, yes? Only guests? -- You received this message because you are subscribed to the Google Groups "Jailhouse" group. To unsubscribe from this group and stop receiving emails from it, send an email to jailhouse-dev+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/d/optout.