From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Dumazet Subject: Re: [PATCH] virtio-net: fix a race on 32bit arches Date: Sun, 10 Jun 2012 12:21:14 +0200 Message-ID: <1339323674.6001.246.camel@edumazet-glaptop> References: <1338971724.2760.3913.camel@edumazet-glaptop> <1338972341.2760.3944.camel@edumazet-glaptop> <87ipezhdvx.fsf@rustcorp.com.au> <20120610070325.GA14010@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org, Stephen Hemminger To: "Michael S. Tsirkin" Return-path: In-Reply-To: <20120610070325.GA14010@redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: virtualization-bounces@lists.linux-foundation.org Errors-To: virtualization-bounces@lists.linux-foundation.org List-Id: netdev.vger.kernel.org On Sun, 2012-06-10 at 10:03 +0300, Michael S. Tsirkin wrote: > One question though: do we want to lay the structure > out so that the rx sync structure precedes the rx counters? > I am not sure its worth having holes in the structure, since its percpu data. That would be 8 bytes lost per cpu and per device.