Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp363760imm; Fri, 31 Aug 2018 02:29:00 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZ2BwCxV6B4kWUslJ5QJjIXSWmhJB54jNeyzn7HtVAxboPviR82RWACcp/WS10nVQJh+3kt X-Received: by 2002:a62:cc41:: with SMTP id a62-v6mr14806493pfg.131.1535707740853; Fri, 31 Aug 2018 02:29:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535707740; cv=none; d=google.com; s=arc-20160816; b=CnieukV5hUnqPywKyc04HKtOLd7q+VemitX2KkBqrkIW1Fav5kAPN43u/J+mFS88Of jD4FtEy8wjXHUUOgKOMvYGb53cf2TMGY7IexwmmN9uvigwlAORPE1nkRvChFgk0DhOCV f1GG5HtJ73aJCVkS2ezPVTutKuPwc7tDVzRgcVDOoG3Q8boG3g9RSVu6NxAbPDbk3QDH 3Ur/B85UNOZb4HLhEJNNEy464MnCZOPsqPe4TytkX1PBKsLFkJa1237xjaJyPdxjiQPC Wey/5WOHTkY8N6M/6sVyLl1xgLUqbshTfnRSgRYCR8IcQ4U91rbYC8cYndNu19bPhjhl VXrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=0qyFF8uahKCBY+R45VclLxB95m1fiI5BGLqMwKqjqN0=; b=q4B2CBSA29qDs+QrSutKFpoN1UuzftTtcWOV7/hPS+HXcrJMhlBWPVybsxf5D118Lv 96YYqEe/j0S8MfgbJsKUSi695CWlOc8/meboSR+JtyZcW/VfNtGS9UzMl9RYxh+7oJzR 0VV+jLHyW+KzBCHlOzXvDZpQbjgB0xK8zZklgGHbtoaCT0KFL86qitBM7RnSMuJSS/+L X4VWT+4PagSg2rQEs/D26r2MuiamqKd2OFkBZ+/Fa0cKqaNOkvorNMvkOWVr19V3rxtU ykWFPX2lvwgdIeVLr1ogVU9yNPO++pxXr0h1g4Ck0lwTgpack4t4ylPOoB3XKoo+Tpw1 M9Gw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@infradead.org header.s=bombadil.20170209 header.b="pkDasp/k"; 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 x5-v6si8720832plo.57.2018.08.31.02.28.46; Fri, 31 Aug 2018 02:29:00 -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; dkim=neutral (body hash did not verify) header.i=@infradead.org header.s=bombadil.20170209 header.b="pkDasp/k"; 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 S1727778AbeHaMjp (ORCPT + 99 others); Fri, 31 Aug 2018 08:39:45 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:51842 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727206AbeHaMjp (ORCPT ); Fri, 31 Aug 2018 08:39:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Transfer-Encoding :Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Sender:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=1g0OpraIOMN55pmYzjFbW3UFbF9IY5hiEyyg8BYasa4=; b=pkDasp/k1VWnAAne1thM/HslyO gxxSS4Z07HRzXzadcaeyovvPzLcfkVZhO+yGLmwYILXAWj0hOD2V5jEK3WX8CnWCx7oJtpDurVl7L 1AtlJymcs8zpNUt26KanCYesDuYjSfToC8WHyH02/rYi38kxMp7zLaAavo/jpUzF2ggWJEFKdYECH vX6+OGfm/nDJvoOjHS9E2Sc1OV+zNwoPRY532LydXM+TmbA8yd+9YBtolk3VP2wfukerwbF+JwcDh GAqgPIS8g7+d+ZSt8lhCGk66yvrXWhSvtlCeJkSfnErtLFvPAU5y2JyLz6w0MJ6hgzv/ApbxaTDlL 4FRsRWiw==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fverm-0005Jq-E6; Fri, 31 Aug 2018 08:33:18 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 1F5AC2024D73F; Fri, 31 Aug 2018 10:33:16 +0200 (CEST) Date: Fri, 31 Aug 2018 10:33:16 +0200 From: Peter Zijlstra To: mojha@codeaurora.org, linux-kernel@vger.kernel.org, tglx@linutronix.de, hpa@zytor.com, mingo@kernel.org Cc: linux-tip-commits@vger.kernel.org Subject: Re: [tip:smp/urgent] cpu/hotplug: Remove skip_onerr field from cpuhp_step structure Message-ID: <20180831083316.GR24082@hirez.programming.kicks-ass.net> References: <1535439294-31426-1-git-send-email-mojha@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 30, 2018 at 04:03:58AM -0700, tip-bot for Mukesh Ojha wrote: > Commit-ID: 935aad3015fb4afc0b7ef6e6c18175b95461de47 > Gitweb: https://git.kernel.org/tip/935aad3015fb4afc0b7ef6e6c18175b95461de47 > Author: Mukesh Ojha > AuthorDate: Tue, 28 Aug 2018 12:24:54 +0530 > Committer: Thomas Gleixner > CommitDate: Thu, 30 Aug 2018 12:59:30 +0200 > @@ -644,12 +637,6 @@ static void cpuhp_thread_fun(unsigned int cpu) > > WARN_ON_ONCE(!cpuhp_is_ap_state(state)); > > - if (st->rollback) { > - struct cpuhp_step *step = cpuhp_get_step(state); > - if (step->skip_onerr) > - goto next; > - } > - > if (cpuhp_is_atomic_state(state)) { > local_irq_disable(); > st->result = cpuhp_invoke_callback(cpu, state, bringup, st->node, &st->last); Can you fold this in? ../kernel/cpu.c: In function ‘cpuhp_thread_fun’: ../kernel/cpu.c:663:1: warning: label ‘next’ defined but not used [-Wunused-label] --- kernel/cpu.c | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/cpu.c b/kernel/cpu.c index c544baf75e77..aa7fe85ad62e 100644 --- a/kernel/cpu.c +++ b/kernel/cpu.c @@ -660,7 +660,6 @@ static void cpuhp_thread_fun(unsigned int cpu) st->should_run = false; } -next: cpuhp_lock_release(bringup); if (!st->should_run)