From mboxrd@z Thu Jan 1 00:00:00 1970 From: catalin.marinas@arm.com (Catalin Marinas) Date: Fri, 10 Apr 2015 11:20:45 +0100 Subject: [RFC PATCH] arm64: KVM: remove fpsimd save/restore from the world switch In-Reply-To: References: <1428598439-5217-1-git-send-email-marc.zyngier@arm.com> <55278CAD.70302@redhat.com> <552793CF.8050904@arm.com> Message-ID: <20150410102044.GC6854@e104818-lin.cambridge.arm.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Fri, Apr 10, 2015 at 11:01:36AM +0100, Peter Maydell wrote: > On 10 April 2015 at 10:11, Marc Zyngier wrote: > > I did some experimentations on arm64 a long while ago (see the > > kvm-arm64/lazy-fp branch in my tree), and it wasn't that great, > > apparently because aarch64 userspace tends to be much more FP happy than > > aarch32, but I'm not completely sure about it. > > Was that with the buggy version of the toolchain that had > incorrect costs and so was much more inclined to spill > integer values into the FPU than it should have been? > It might be worth retesting with a freshly compiled > userspace some day... It really depends on what you mean by userspace (which benchmarks you use). If for example you only care about Javascript heavy web applications, all numbers are 64-bit floats. But I think it's worth investigating. We could also make it smarter and mark some tasks as FP heavy for a limited time to avoid faults. -- Catalin