[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] [PATCH v1] x86/spec-ctrl: Remove EAGER_FPU when PV/HVM is disabled.
- To: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Jin Nan Wang <jnwang@xxxxxxxx>
- Date: Mon, 5 Aug 2019 09:05:36 +0000
- Accept-language: zh-CN, en-US
- Arc-authentication-results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=suse.com;dmarc=pass action=none header.from=suse.com;dkim=pass header.d=suse.com;arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=DX/F/wM0R5nRdRMMQMy1OtKo0E1dGFRsbKQEojx9DIc=; b=BJbm5vWMFeArFQpaUlqM19AniQyTUjhXCITLiSgWP6IbK2sO5tOYDc8ueC41H1vkynW5MwkFyAL1E0ycT5CtD8vEMNhZWaCE0fObowyTm9pSJn57odj/XXDALPM81XnoxgsTfJkJ9iXAJIQf5qch3B960fSbtBaiUuitW3FIxCiykf95odi8prd6AnejsaJpkGRSThRsRneFsdh/vw2IR8D2NBW6ZA0Rl6TZHPy0Ehha+rPUKuDoPQmyjAatY4kCohvYFgKYDiCfpMqpQ2agPegLltC63sAcWmrW+ocq8tdmeWHZ9DUFh3T4UDH31lzqa+kQCCivsRwdY7/XSuSYaA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RvMTZgKjdmnxV8aarMk6CBlVGlz5laEAR0uC1JfqpY7CglOr37QLNm3PRbeLBj0g+m8rgwfj3rVd6WChVAZVTZHrNPJTugnoIfvfmdc3uoiYRoGIxBVqh2yj/3IoK0Msxiozal9HDA4puK57rAWr5v1qfrtzHwwPOgMZEDAjnjeN4Y9Gve2qH/OxBZ0Siulhqqwli9G+gGdivGTDzXpb1V3Zw37H3HhXjzY3NyETG/ntk/Yukefm+GOYr+qI/988emlBbuVD4/1X/T60Mb0Bs4NaSkTTxcK1Hv0kpCWm4ITcikjt8HtmY9bV6lp9TcSS9/OlQk7fMmaKipps4r6DSg==
- Authentication-results: spf=none (sender IP is ) smtp.mailfrom=jnwang@xxxxxxxx;
- Cc: Jan Beulich <JBeulich@xxxxxxxx>, "roger.pau@xxxxxxxxxx" <roger.pau@xxxxxxxxxx>
- Delivery-date: Mon, 05 Aug 2019 09:08:10 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
- Thread-index: AQHVS2tXqqYTwX0oZ0GkAajAz6g26absQrxPgAAAQ4A=
- Thread-topic: [PATCH v1] x86/spec-ctrl: Remove EAGER_FPU when PV/HVM is disabled.
On 8/5/19 5:04 PM, Andrew Cooper wrote:
> On 05/08/2019 09:54, Jin Nan Wang wrote:
>> In commit ac3f9a72141a48d40fabfff561d5a7dc0e1b810d:
>> For one, "no-xen" should not imply "no-eager-fpu", as "eager FPU" mode
>> is to guard guests, not Xen itself, which is also expressed so by
>> print_details().
>>
>> So when spec-ctrl=pv=off,hvm=off; EAGER_FPU shouldn't be display in lines:
>> Current[Wrong]:
>> (XEN) Support for HVM VMs: EAGER_FPU MD_CLEAR
>> (XEN) Support for PV VMs: EAGER_FPU MD_CLEAR
>>
>> expectation:
>> (XEN) Support for HVM VMs: MD_CLEAR
>> (XEN) Support for PV VMs: MD_CLEAR
> Eager FPU is a performance win across the board. It will become an even
> bigger performance win when we follow in Linux's footsteps and remove
> the eager option, and associated logic.
OK.
> I don't see any value in turning it off for speculation related reasons.
Got it.
> ~Andrew
>
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel
|