[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 01/11] x86/HVM: avoid effectively open-coding xzalloc_flex_struct()


  • To: Jan Beulich <jbeulich@xxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • Date: Thu, 8 Apr 2021 13:20:10 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.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=YekTlhNkbIV15dspazgDtUk/D+z1UBkzqLsyX1bZ1XI=; b=RDlzYrPlq6q/79+UJlBWcPplb1/9R0IFuZiWJlSFVfWQQ5baPhJ0bLwsqtje47fXrLxmuS/q5oRe+NWbRB10dXqVY6B6g71N/L6z+b/bH0nnpJFY8+YhPpY/2WUBKLRE6onKu92rytfPOsLjN48vavqHgTmC64nFAazKfTzkfRkPVy1UR7YNV1+byzJ2QOIZkd+i4xstxXrrX+eiVQwxnO88QXjkZsh/AIKCBvMhNyEYwd5/pJqY+ddx5c7WJRElG1pZNO1b0mygPQvPiHWbigFhUy/CbG/ABpSk5TbOU86uFh3M7kMDEmYdPtaHLIkjGVNqObJX67EM9fVAf0u0yg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NuPU9ayLbNydNnlkt8vYlKWMF5ipmkNk0mOk9rSwoJXHLkkJFN8Y4/IDsYtm3MTWVgsYGHWnF8Nzi5xBsB1iKMtVSEr2mhTII5LaSy6L/nzKcMkLRXjNmBPoTpn+NcF58mL1eVPiV/yPpkhQ4TNhls3Xifmtpf2fE6RJ64jO1nNBokAJ5KG8U58IvMsqo6T1OhzYTqKXTRlsX2acgf1rVWcS/BHp6yaN7gMlkTBnm9QmI2sRuZs+e1qQzdzEAx6R4tJE26E7LGnfTRtfEeNdz6TNKXEo9WtiSU3ImitMU6OMoMryqH8UTNc39a2AMNf+B2B02F2Ge/2pjhQvYwuhmQ==
  • Authentication-results: esa1.hc3370-68.iphmx.com; dkim=pass (signature verified) header.i=@citrix.onmicrosoft.com
  • Cc: George Dunlap <george.dunlap@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Delivery-date: Thu, 08 Apr 2021 12:20:23 +0000
  • Ironport-hdrordr: A9a23:igCEYaEBglL8G1vEpLqFOpHXdLJzesId70hD6mlYVQFVfsuEl8 qngfQc0lvOhCwMXWw78OrsBICrSxrnlaJdy48XILukQU3aqHKlRbsSibfK7h/BP2nF9uBb3b p9aKQWMrfNJHVzkMqS2maFOvk6xt3vys6VrMP/61socg1wcaFn6G5Ce2OmO2l7XhNPC5Z8NL f03LslmxOadX4abtu2CxA+NoCum/TxmI/7ehlDPhY76WC15g+A0qLwEBSTw34lIlFy6IolmF KlryXJop+Nntv+4R/a2m/V4f1t6abc4+oGPuOgoIw4Lj3tjyyheYhuXaaT1QpF3N2H2RIRv/ Tn5zsmIsRv+1PdF1vF3ifF6k3b/xsFr1/k1FOCjnPoraXCNUwHIvsEv611WF/9ySMbzbZB+Z MO5U21nd5rKCmFuyLH693BR3hR5zGJiEtnq8E/pThiS4cEAYUhy7A3zQduP7orOjn104wjGP kGNrCn2N9mNWmXaH3UpQBUsaWRd0V2Gh+HR34LsdCO3w5Xm2hkz1AZyNZ3pAZ5yK4A
  • Ironport-sdr: e/EW5tJA/Gl+k7s7KZW9i4eAmDL26KYH/j4aehXmNVrFJhUFKCPbKRq7peEhNafKYKR0+5JNDr QGqRy5umcuJ80iOYn45ETbufRVyOYwxSbQ8/ueqbGlrCxXEdtebph0xR/2WvFzrl4CpLK0SLFa AtxZjGCVKo5N++OepJpefCs1M+AC1ZJmNqIDKJBibEqbsHCgZXSd34POnkJQce+lQGtZNk3wi3 qMMonyV8FCusJV9yuweBDQ1hXK93V+xN1DYyaRyVi/1cWwHKI7lNtOupAj81HXHaw4p9pN56yc 0oE=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 08/04/2021 13:16, Jan Beulich wrote:
> Drop hvm_irq_size(), which exists for just this purpose.
>
> There is a difference in generated code: xzalloc_bytes() forces
> SMP_CACHE_BYTES alignment. I think we not only don't need this here, but
> actually don't want it.
>
> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>

Acked-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.