From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,PDS_TONAME_EQ_TOLOCAL_SHORT, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1752AC433C1 for ; Tue, 30 Mar 2021 12:09:43 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9BEAE61994 for ; Tue, 30 Mar 2021 12:09:42 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9BEAE61994 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=va9N6HYlqcS+mlITsZMFZeaaNts8QjOEGj3a4HLqLrk=; b=kwi/7Vm4D2tBRP0mfgadafAQx QEnBEY0xUsVxe+B8mstcBcMpCPrHc3HVy9ZcO8AdyFW4OD90EzHYpXtevUrcv6zs8uYBshZXXNUuS vsFzEZLlDiUM8hZwNkTtrH8jCZbOvUW3PoGdsTTN/InBSvg9S1HKHaco9kCqBWcQSLopWv7YYWsAh /0Ws7AE9W1ulGnuhGTYmlSeUdUvbR0vBTj2Uh+mSKykptdJCsN9IYJoWdwIjLzyPRcmvneCADqCKW SgSBCVtYgeGqQdOdAg33lIm83nsIhcxlGZOcGFdIeiW9rU+kfc8DgpvPoj15KnYc1lfWYq8bmpBol 8KZtTxsUg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lRDAM-003eOO-JC; Tue, 30 Mar 2021 12:08:14 +0000 Received: from mail.kernel.org ([198.145.29.99]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lRDAG-003eNR-3m for linux-arm-kernel@lists.infradead.org; Tue, 30 Mar 2021 12:08:10 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 593AF6195B; Tue, 30 Mar 2021 12:08:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1617106086; bh=7LMZ9F7lPaHwi9le/h++7n7vRCgfrM5V67L1bhRCi+Q=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jXuYOvZJehXicC4lBBemhDOlN4/mbLo0CTtFE8Gq0yUORmuXpoM53CuJM0UJK9TMF EAm4Qg+Ay4P25jM0UIE6J7Cb0B2VYK/P+ykOuJoKlTDhYcMgJqgu5BQT5kLLRQL9xS qRTaGb5glQmunn9rVso+aSiU+0SrpvgNS20oI/aZcaGvrM23kRJnSrGhkl+677m9Wk Hk/zDiM6oPLWRWGJgW+sn7+MM1Y8x5UIA9oVrDTaQ6umZtStYdgJM4YjM6LbzyCtZ1 HkjI/GAXoHnjetRIWZjG0I7LWW9Vn8Q/poNBeOsqRluXSgC1jLwhrWhW1Q6DOljGlr Upqk/hFHtbQGw== Date: Tue, 30 Mar 2021 13:08:02 +0100 From: Will Deacon To: zhouchuangao Cc: Catalin Marinas , Masami Hiramatsu , Jean-Philippe Brucker , Andrew Morton , Qais Yousef , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] arm64/kernel/probes: Use BUG_ON instead of if condition followed by BUG. Message-ID: <20210330120801.GA5908@willie-the-truck> References: <1617105472-6081-1-git-send-email-zhouchuangao@vivo.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1617105472-6081-1-git-send-email-zhouchuangao@vivo.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210330_130808_559239_85F6455C X-CRM114-Status: UNSURE ( 6.93 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Mar 30, 2021 at 04:57:50AM -0700, zhouchuangao wrote: > It can be optimized at compile time. Hmm, I don't see it (and I also don't understand why we care). Do you have numbers showing that this is worthwhile? Will _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel