From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Jan Beulich" Subject: Re: [PATCHv3 6/6] evtchn: pad struct evtchn to 64 bytes Date: Thu, 18 Jun 2015 12:31:31 +0100 Message-ID: <5582C834020000780008694B@mail.emea.novell.com> References: <1434542583-28073-1-git-send-email-david.vrabel@citrix.com> <1434542583-28073-7-git-send-email-david.vrabel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Z5Y2f-0002Vs-VV for xen-devel@lists.xenproject.org; Thu, 18 Jun 2015 11:31:34 +0000 In-Reply-To: <1434542583-28073-7-git-send-email-david.vrabel@citrix.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: David Vrabel Cc: xen-devel@lists.xenproject.org, Keir Fraser , Ian Campbell , Tim Deegan List-Id: xen-devel@lists.xenproject.org >>> On 17.06.15 at 14:03, wrote: > The number of struct evtchn in a page must be a power of two. Under > some workloads performance is improved slightly by padding struct > evtchn to 64 bytes (a typical cache line size), thus putting the fewer > per-channel locks into each cache line. > > This does not decrease the number of struct evtchn's per-page. > > Signed-off-by: David Vrabel Acked-by: Jan Beulich