Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp2013577rwi; Thu, 20 Oct 2022 21:36:04 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7VjBzh6IIYth06cALluRRD//ZNZTB8CGImYbVkSALLhkLBqdsMI/kBOObx8D9JsBGYNMFg X-Received: by 2002:a17:903:11c7:b0:178:afa2:43fd with SMTP id q7-20020a17090311c700b00178afa243fdmr17354019plh.126.1666326964238; Thu, 20 Oct 2022 21:36:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666326964; cv=none; d=google.com; s=arc-20160816; b=vWKcM2nBBFplhfrRmQlZvVGq6XZk9Apw36IIVV/h7LnUOSwUb1fkOMkp1soH5Abi/U /yn0OV7M7zptxWqQAzXWUaqmWJSFDBrbXecr+ArRErs32GirWlkZG7G6Fo12A11T3rf9 tQZFw6IQ4oS25CYIjyDLfWgzsdwLCusK1cIEsxIsTTeoPUR/MZOPLQRj795LvJvj2SpR LVskD4OwOdCGqNMeMUDJ4qrboW/33HlOF6LYXGqxZCGmIa6H8IPFo6TVZIfuNZW1w7AR x0BfYiAB1POXEKJ0JSOK/gnb8hDO1f7ro2jHqfiwuWvCkBTv6v7SkTslCEES0rwhg1CJ VC/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=v0/0bqTdsNrLLLpA1302Fzid78rZEZQZlMOI1D8+Rwo=; b=GUxNyM9DgWpT9SpLRHDlzbYtibN3t0tz45x8bsa8ez8dBhkjXAY2//XAY6qQPxj47i VkTZd+D8iBO9Nukp1V5rlB+rhh09yjqO+fCl8JLmeppmpZNnLqOT/mZq4PZmzbEdU+Vi km1PLns9fJBTl4xR0tYoPkoQPVtGKFUJDAzYx/mAiOHVQQByj+XCoaIK+H67naDpOUeN o7gVLGFhV9B/NxpQTYty6t3Pl+iMHMTJo/FQr7HNGUGQHSR4m84XO5SWWsTX6MxpIUZA ztuJX562cZISIpTBIXl1Kw9pBrpxsoo73lT167G4Bx7GagCe/90aqvv/PZUagBhpGL9v B5Ew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=GDu9CVVG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lw5-20020a17090b180500b0020a8d4fe571si6730775pjb.162.2022.10.20.21.35.52; Thu, 20 Oct 2022 21:36:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=GDu9CVVG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229678AbiJUERn (ORCPT + 99 others); Fri, 21 Oct 2022 00:17:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44300 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229456AbiJUERg (ORCPT ); Fri, 21 Oct 2022 00:17:36 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A587F144E22 for ; Thu, 20 Oct 2022 21:17:35 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 0E85161D9D for ; Fri, 21 Oct 2022 04:17:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 29841C433C1; Fri, 21 Oct 2022 04:17:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1666325854; bh=pHUX7kQhg+qJZIQCthaob3/LECmst3jbCdEp9qpk9tA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=GDu9CVVG8Jxiy18xdfkINdxM/4UphCMFnRgUFQkHKeG3xCR+hzR1EqLE4+TCeVcZw 30ljUr8xk9N8l2hixS5QhG+0w/nQyIm6B9aT7GCxahqS4Jxn+49OCaK1mBdaBFMqys BnYKneLphVG+Hfl1wTc0m/uT8qwMxUQhtageyPW0= Date: Thu, 20 Oct 2022 21:17:33 -0700 From: Andrew Morton To: "Aiqun(Maria) Yu" Cc: Matthew Wilcox , , , , , , Subject: Re: [PATCH] mm/page_isolation: fix clang deadcode warning Message-Id: <20221020211733.31b2ee4f81805186367304b0@linux-foundation.org> In-Reply-To: <23081249-229b-b745-50f5-53e394b623c9@quicinc.com> References: <20221021030953.34925-1-quic_aiquny@quicinc.com> <23081249-229b-b745-50f5-53e394b623c9@quicinc.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 21 Oct 2022 11:26:22 +0800 "Aiqun(Maria) Yu" wrote: > > Honestly, the cure is worse than the disease. I'd rather not have a > > line that's this long. > I don't like this long either. While the current Deadcode warning is > also annoying for our clang tidy check. > > will the CONFIG check can be acceptable? > like: > #ifdef CONFIG_DEBUG_VM > or > if (IS_ENABLED(CONFIG_DEBUG_VM)) > > Any good ideas? Put a newline in there? Although the shortly following lines are nearly as long...