Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp1888454pxb; Fri, 10 Sep 2021 17:10:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz0YahPky1tvRaJXT+sSYY+ZKCyxK5aVxpftTgNEqRXlQcbvlU3v9jQbeLkvHbLPBBvYavx X-Received: by 2002:a05:6402:168b:: with SMTP id a11mr409051edv.295.1631319019773; Fri, 10 Sep 2021 17:10:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631319019; cv=none; d=google.com; s=arc-20160816; b=SUG1ilG+qwyPnEqDAwPddWjoCVtBopAGZ2Toe+OiG35wLif+Y9Q37UEdcizRftiU6W PBNWOCoDZ8kEJe2uTVysYESOctCisSSHnePw7T8lpRR64l2NCQh21Ole7/hjbonK2Hs7 RheWpfQ0j766pvNlCGtCcxls1fFVLWFIF+wLaLAJ3mNl8cOXn5jzZUFrZJHcEDN9glOP VLg0nusFrGdO8xd/ocH0yTRgqVpqszIfZA5nxO3UQ9ebwbcnPj8nfafOZNfQjU6TTryc cFlftMUtfOm4hdXDrXgBsM9ffwLjz/3THnkcs70EYxY0PI26LRl4mwCSF3RkdyHmh0bw rUTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=n6ddgDRpLWdoqHLgul4o+a52OVA4uNCp4k6kjZWi3uU=; b=lREKzG+ONI0a4im5RUAWyEmdf4hcm0+bOheFFvUcFq7/myQnSz5mgRikz58kcW29eq abCJ0euCVxjFbQu3cXTW7c1jx1Dvq0K5HSuxl1FsD8uuU+EwRLA4gx6eMgxCuhhh3KGX aXJ/X7+g/7yvHwR/77saqo0pjC8n4VGfIV/uEe7Mj+/YyDAP2ldGuPOaHj5RAeKWM8WN VFQdnQZXUAxfUjrJKkTVVruj5HRgqJXZjXYZSD3DiZ10dHIPUiDA6VYS6KEfTeBS8WbS juV9KvzKpmAEk6nCyMRBc0Yr+Q0eSeuzeVOdKy8xi2J48n+3rutaf7BMIBr9gqQEAbH7 g39Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=q5fL1NBQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d1si137491ede.332.2021.09.10.17.09.43; Fri, 10 Sep 2021 17:10:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=q5fL1NBQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234912AbhIKAJG (ORCPT + 99 others); Fri, 10 Sep 2021 20:09:06 -0400 Received: from mail.kernel.org ([198.145.29.99]:48056 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233946AbhIKAJE (ORCPT ); Fri, 10 Sep 2021 20:09:04 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 2840E61153; Sat, 11 Sep 2021 00:07:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631318873; bh=Q/iD1S0/iT+IxBBe9kh++hPn6RGB3OaQo3wV+nIuWMA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=q5fL1NBQ6U99jc9jT5zb+Ul3+BzhTOeCewF4MQ5AuB5c8HzcccxsqCMM39euaK+Ud nMvavOOjY7D2XcF2zLVqoRU7TjFKRRbl8YiLvO9mA0kpKOqHIfrFwevhInMP3niflE XlrEzsA/HjhfmiVkyBrtz5XuehXu5ktO3TRbEagqqxDSfyjQMCR9uCrIx7ljrIjZ90 KuHpJVUTkst2IeZZyzdmS5mCR+gueB5Su3+tyK1vbnVFePmik44ytxjmFM1w9WQYID V05Hy4L5opr0wz4cw33NNPsi9p3GnMGG+dTcyvMOKKPr/DckAFffRftt0s5cwPrxV6 j0s1SHisqngrw== Date: Fri, 10 Sep 2021 17:07:47 -0700 From: Nathan Chancellor To: Nick Desaulniers Cc: Andrew Morton , Linus Torvalds , Rasmus Villemoes , Masahiro Yamada , Joe Perches , Arnd Bergmann , Stephen Rothwell , llvm@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH 03/10] mm/ksm: remove old GCC 4.9+ check Message-ID: References: <20210910234047.1019925-1-ndesaulniers@google.com> <20210910234047.1019925-4-ndesaulniers@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210910234047.1019925-4-ndesaulniers@google.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 10, 2021 at 04:40:40PM -0700, Nick Desaulniers wrote: > The minimum supported version of GCC has been raised to GCC 5.1. > > Signed-off-by: Nick Desaulniers Reviewed-by: Nathan Chancellor This is technically new for clang but arm64 allmodconfig does not complain. > --- > mm/ksm.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/mm/ksm.c b/mm/ksm.c > index 025338128cd9..a5716fdec1aa 100644 > --- a/mm/ksm.c > +++ b/mm/ksm.c > @@ -651,10 +651,8 @@ static void remove_node_from_stable_tree(struct stable_node *stable_node) > * from &migrate_nodes. This will verify that future list.h changes > * don't break STABLE_NODE_DUP_HEAD. Only recent gcc can handle it. Probably worth removing the recent GCC comment. > */ > -#if defined(GCC_VERSION) && GCC_VERSION >= 40903 > BUILD_BUG_ON(STABLE_NODE_DUP_HEAD <= &migrate_nodes); > BUILD_BUG_ON(STABLE_NODE_DUP_HEAD >= &migrate_nodes + 1); > -#endif > > if (stable_node->head == &migrate_nodes) > list_del(&stable_node->list); > -- > 2.33.0.309.g3052b89438-goog > >