Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp36077135rwd; Mon, 10 Jul 2023 17:44:16 -0700 (PDT) X-Google-Smtp-Source: APBJJlFcsJldfG972p4tZ+Bd4XlwP5+yQxPYX/F2nILbnqMhaIu5tGFjvAfopQrPWePz3WPF2oFA X-Received: by 2002:a17:906:6a23:b0:991:f0dc:c930 with SMTP id qw35-20020a1709066a2300b00991f0dcc930mr20736557ejc.16.1689036256377; Mon, 10 Jul 2023 17:44:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689036256; cv=none; d=google.com; s=arc-20160816; b=VrCojIS7PGng9sTDvkCD1xHirP7TacxmIWo6Ion4v/2kWV7MH0d5dOe6VqkKczfFCL hsYiPDXY3mKpE198YJmf4xMPeKu0u+X0+M3UZAtUjACf08I8/3wIek2iefBRbZlN1or/ MWl7u776Nzr9z4+fKL0RaZn2gvyohVCDWD7Oo+NxL2v2HuVrd2+jGiCSQI7SUSq1s6Ir vVebk0oryPKpiUrKUSuew9fvm3STplcx4i1pMxbZTuX0BaqPLFsgeqH6LtBtdHP4Ogw7 GpPfosvJFcmvEx23K+mrUsX5n5rxfFIpGKSW9TPoO0TWGBme2aWVWhcVVvtmb8IDI280 a/lQ== 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=tMWKdLu1pApPhx1zc2qBUJCatrJQgfwkyhGPgql0sFM=; fh=q7Z/rKL+KIbFund01sogDpTvPeDzU4Ew1asLTbwSUy0=; b=I+QoUgJsTDVq1HrkuO5+PYwwkO/luT1hbB74t0S4FABxhKBkwvb6QKJ7kKmaaTvX8v xFh60lpHUNhQKND0eilj6cOPr7wlgHjqFTeyyFY9khNFaKfRq98PFViDirY6Rqi0RMxf fUyUtOQhCpcu1eNiLGQRv0a/zCFW/pyZNmIqqFNGXtpu487cGhfdG3wvoysvpjoUaKnW jzja3HFP0JWCa/5K6r5ISrUqF/8XjrIBiqOGr1gfgf+tllbNUq7Qo0f/vIARbwwd4BSy tc4wifDIV2VQVUyVfGSLS5AEjHC7WPGBkhCyEzUwtph1lUPcgx6lNAUstgQTDYSFZF5o H7tg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=L8Ox1aEa; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g7-20020a056402180700b0051e109c42ebsi856836edy.115.2023.07.10.17.43.53; Mon, 10 Jul 2023 17:44:16 -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=@chromium.org header.s=google header.b=L8Ox1aEa; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230175AbjGKAWT (ORCPT + 99 others); Mon, 10 Jul 2023 20:22:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35348 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229701AbjGKAWS (ORCPT ); Mon, 10 Jul 2023 20:22:18 -0400 Received: from mail-pf1-x435.google.com (mail-pf1-x435.google.com [IPv6:2607:f8b0:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D3D06120 for ; Mon, 10 Jul 2023 17:22:17 -0700 (PDT) Received: by mail-pf1-x435.google.com with SMTP id d2e1a72fcca58-666eef03ebdso2313367b3a.1 for ; Mon, 10 Jul 2023 17:22:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1689034937; x=1691626937; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=tMWKdLu1pApPhx1zc2qBUJCatrJQgfwkyhGPgql0sFM=; b=L8Ox1aEajphnkCyKy0BirVdMRtbRNootMuVxvHTl1xMinkJrUVVYjvHHhZCRnqHYbd 7fMGLTb+4FD1oFXwQh4NiY5wSPc5dLmRPlTxSYpaPMtOYwGCFKLoUxQo5a1/Is+efsbp /I9yqkuWNEEFXLUBIQE0U66Wo6VALCyam1mww= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689034937; x=1691626937; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=tMWKdLu1pApPhx1zc2qBUJCatrJQgfwkyhGPgql0sFM=; b=G5ZHIz0I+rBcfoIMALBe7pQIqtQ04QDabgufu1eAvkyMeYpi7oXlOIZ543qt1lmEaY /N5YDPizh+3ieQ8tSbDiRtq3BWCeuhz4wOvzDFJBDiUZpMDVEvLbcujIosPWvMKeeYia jYbk2deENXl3rg9MqbOjyj2tAVNWJ7uz2OoXMExq4bsFrnanZePJF3ZE1Wona05ELKq8 bL4XspuOUn67QOrMeaPotjkPGIJcc/cyk2eeOwIQxJk+IwMSi4weIUTd7bhuv8REk7KO QT595H7E952KmO3fozN5J1f6SEjvlzry3NFx1j+GZDrbwuAJ38fe60rC4lBHoRcbQjkP Xejw== X-Gm-Message-State: ABy/qLadiqMO5fo6tBhYFbvhhf7D5EsmE/IhbMVUpEhRU1gx9T3+JHyK aIsykCUnINRs478nHmXzpmSX4Q== X-Received: by 2002:a05:6a20:7f8e:b0:12f:df4:6102 with SMTP id d14-20020a056a207f8e00b0012f0df46102mr14632812pzj.27.1689034937299; Mon, 10 Jul 2023 17:22:17 -0700 (PDT) Received: from google.com ([110.11.159.72]) by smtp.gmail.com with ESMTPSA id f1-20020a170902ff0100b001b8b26fa6c1sm469764plj.115.2023.07.10.17.22.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jul 2023 17:22:16 -0700 (PDT) Date: Tue, 11 Jul 2023 09:22:11 +0900 From: Sergey Senozhatsky To: John Ogness Cc: Petr Mladek , Sergey Senozhatsky , Steven Rostedt , Thomas Gleixner , linux-kernel@vger.kernel.org Subject: Re: [PATCH printk v2 5/5] printk: Rename abandon_console_lock_in_panic() to other_cpu_in_panic() Message-ID: <20230711002211.GA12154@google.com> References: <20230710134524.25232-1-john.ogness@linutronix.de> <20230710134524.25232-6-john.ogness@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230710134524.25232-6-john.ogness@linutronix.de> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FSL_HELO_FAKE, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, 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 (23/07/10 15:51), John Ogness wrote: > Currently abandon_console_lock_in_panic() is only used to determine if > the current CPU should immediately release the console lock because > another CPU is in panic. However, later this function will be used by > the CPU to immediately release other resources in this situation. > > Rename the function to other_cpu_in_panic(), which is a better > description and does not assume it is related to the console lock. > > Signed-off-by: John Ogness Reviewed-by: Sergey Senozhatsky