From: Daniel Kiper Subject: Re: [PATCH v2 03/23] x86: zero BSS using stosl instead of stosb Date: Tue, 21 Jul 2015 20:23:00 +0200 Message-ID: <20150721182300.GK3479@olila.local.net-space.pl> References: <1437402558-7313-1-git-send-email-daniel.kiper@oracle.com> <1437402558-7313-4-git-send-email-daniel.kiper@oracle.com> <55AE2F0C02000078000938D2@prv-mh.provo.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZHcC5-0006wZ-VW for xen-devel@lists.xenproject.org; Tue, 21 Jul 2015 18:23:10 +0000 Content-Disposition: inline In-Reply-To: <55AE2F0C02000078000938D2@prv-mh.provo.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich Cc: andrew.cooper3@citrix.com, keir@xen.org, xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org On Tue, Jul 21, 2015 at 03:37:48AM -0600, Jan Beulich wrote: > >>> On 20.07.15 at 16:28, wrote: > > ... because of ??? Nowadays - with X86_FEATURE_ERMS - rep stosb > is expected to be faster than rep stosl. OK, I did not know about that. However, as I know this feature was introduced in 2012 with Ivy Bridge. So, I suppose that there are still a lot of machines in the wild which does not support it. Anyway, because this code is not performance critical I am not going to insist on one or another solution. However, Andrew suggested that thing, so, please agree with him in which direction we should go. I will do what you agree. Daniel