Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp272748imm; Thu, 26 Jul 2018 18:51:25 -0700 (PDT) X-Google-Smtp-Source: AAOMgpe01eJlnA5wSZIPku27ZyINLK0yIXBxeXhAJLwyJMHyblGu+Iw0LjHb13+ItR1rYxvFjN6e X-Received: by 2002:a17:902:8210:: with SMTP id x16-v6mr4049279pln.307.1532656284931; Thu, 26 Jul 2018 18:51:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532656284; cv=none; d=google.com; s=arc-20160816; b=cHKL717+sbR0b26m8F29+KYYU3VgVnS/EtIag1NEvBp0AJHaL85BpFkvP/2bYpz/1o kOqZwUVIZeJzo71SilFUnKLAdappTZF4G2aiNpcYj4tQ+DKFTZDnEwAS29MaiMb17rCH Bnuo1k8ya2UPl/9dj0ncjBfWz3GK4C/Chz32zyJjybkVKytpxu0ZrGu2bmLgengpDy3N kVhKFjvaJbi8EXR+WICngt0DR1IGYzYFBSw/sHfeUW3wroL0IT23QxGjyrTwZiYsFxNz x41Ht5icUxJvN9GdTbZT/eNCXFK2WfaXefcJztuLy36wCLHsyCbcbP5oLJHZObPAkzff bPBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=WeBbWGL5sceHh6ybeu35dwmzliCLlD4Zd2q268PCZA0=; b=E/rGbFKoY7tqzRXGb6VYxdbQbOe0Hf2FGD1l2B1GyfdD58IH0hLW4NlW70lVWrkuTC Z6RBFjU1wXZCmqkHW61RZDhC7jhmLozOoyaWJCtilfniMYIZxlfD5YwMajDw7Ep2xQTB yGBM7SFB2pJWVXBRlbxyANoUaV2N1prpuvDbg3DOflgxGGsuFti9CSZulwo1k30Z+RJl Az4urysRREd9E6FSIUM+CFC/wjAOXr10+9Lengr6KFq8aQqJMpAbswfh5cOJ5eX5qm/M /0fPZRjCkP5Dg8C/zuJ2uL9FIii6d7idDdI4mhoafVwr/zCwCJkLZY2AHbNc0ajPz82f jk3Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e132-v6si2772596pfg.171.2018.07.26.18.51.10; Thu, 26 Jul 2018 18:51:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732148AbeG0DIU (ORCPT + 99 others); Thu, 26 Jul 2018 23:08:20 -0400 Received: from www62.your-server.de ([213.133.104.62]:59667 "EHLO www62.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731974AbeG0DIU (ORCPT ); Thu, 26 Jul 2018 23:08:20 -0400 Received: from [78.46.172.3] (helo=sslproxy06.your-server.de) by www62.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.85_2) (envelope-from ) id 1firs9-0005Uh-TU; Fri, 27 Jul 2018 03:48:49 +0200 Received: from [99.0.85.34] (helo=localhost.localdomain) by sslproxy06.your-server.de with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1firs9-000VOe-Ii; Fri, 27 Jul 2018 03:48:49 +0200 Subject: Re: [PATCH v2 bpf-next] samples/bpf: xdpsock: order memory on AArch64 To: Brian Brooks , ast@kernel.org, bjorn.topel@intel.com, magnus.karlsson@intel.com Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org References: <20180725210819.1458-1-brian.brooks@linaro.org> From: Daniel Borkmann Message-ID: Date: Fri, 27 Jul 2018 03:48:46 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <20180725210819.1458-1-brian.brooks@linaro.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Authenticated-Sender: daniel@iogearbox.net X-Virus-Scanned: Clear (ClamAV 0.100.0/24786/Fri Jul 27 02:41:39 2018) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/25/2018 11:08 PM, Brian Brooks wrote: > Define u_smp_rmb() and u_smp_wmb() to respective barrier instructions. > This ensures the processor will order accesses to queue indices against > accesses to queue ring entries. > > Signed-off-by: Brian Brooks Applied to bpf-next, thanks Brian!