Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752378AbdHVSop (ORCPT ); Tue, 22 Aug 2017 14:44:45 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:44519 "EHLO out1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751968AbdHVSon (ORCPT ); Tue, 22 Aug 2017 14:44:43 -0400 X-ME-Sender: X-Sasl-enc: laxVCMnPo7be1DctA1USBWJsr6PA1dfhT2efNCWbzDWo 1503427482 From: Hannes Frederic Sowa To: Eric Biggers Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Jason Baron , Peter Zijlstra , Eric Biggers Subject: Re: [PATCH] once: switch to new jump label API References: <20170821234241.88438-1-ebiggers3@gmail.com> Date: Tue, 22 Aug 2017 14:44:41 -0400 In-Reply-To: <20170821234241.88438-1-ebiggers3@gmail.com> (Eric Biggers's message of "Mon, 21 Aug 2017 16:42:41 -0700") Message-ID: <874lszmoh2.fsf@stressinduktion.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 528 Lines: 15 Eric Biggers writes: > From: Eric Biggers > > Switch the DO_ONCE() macro from the deprecated jump label API to the new > one. The new one is more readable, and for DO_ONCE() it also makes the > generated code more icache-friendly: now the one-time initialization > code is placed out-of-line at the jump target, rather than at the inline > fallthrough case. > > Signed-off-by: Eric Biggers Acked-by: Hannes Frederic Sowa