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.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS 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 33610C433ED for ; Wed, 14 Apr 2021 17:26:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id F207561220 for ; Wed, 14 Apr 2021 17:26:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350252AbhDNR03 (ORCPT ); Wed, 14 Apr 2021 13:26:29 -0400 Received: from mga09.intel.com ([134.134.136.24]:47069 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234215AbhDNR01 (ORCPT ); Wed, 14 Apr 2021 13:26:27 -0400 IronPort-SDR: gGPiRgeYxKTu8ZDXfrkypIS182dZKfqBeTGCvKhvNHUp5H9Q2gsEDvUwTxmeC0URdGxtyJosfY JEZoTv13UOhg== X-IronPort-AV: E=McAfee;i="6200,9189,9954"; a="194799797" X-IronPort-AV: E=Sophos;i="5.82,222,1613462400"; d="scan'208";a="194799797" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Apr 2021 10:26:05 -0700 IronPort-SDR: aCgK6sJ6v3Sd9JwBKp2NvJfbWrjZ03o3vlE6FpkJ3IC5d9jYjwIBCCIuKlRQYoMYNH81qdJ5CV qTbLp4TDfmGg== X-IronPort-AV: E=Sophos;i="5.82,222,1613462400"; d="scan'208";a="522065580" Received: from tassilo.jf.intel.com ([10.54.74.11]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Apr 2021 10:26:03 -0700 Date: Wed, 14 Apr 2021 10:26:02 -0700 From: Andi Kleen To: Waiman Long Cc: Alex Kogan , linux@armlinux.org.uk, Peter Zijlstra , Ingo Molnar , will.deacon@arm.com, arnd@arndb.de, linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, tglx@linutronix.de, bp@alien8.de, hpa@zytor.com, x86@kernel.org, guohanjun@huawei.com, jglauber@marvell.com, steven.sistare@oracle.com, daniel.m.jordan@oracle.com, dave.dice@oracle.com Subject: Re: [External] : Re: [PATCH v14 4/6] locking/qspinlock: Introduce starvation avoidance into CNA Message-ID: <20210414172602.GW3762101@tassilo.jf.intel.com> References: <20210401153156.1165900-1-alex.kogan@oracle.com> <20210401153156.1165900-5-alex.kogan@oracle.com> <87mtu2vhzz.fsf@linux.intel.com> <4a9dbfa7-db68-a2dc-9018-a5b74f0f421c@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4a9dbfa7-db68-a2dc-9018-a5b74f0f421c@redhat.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > The CNA code, if enabled, will be in vmlinux, not in a kernel module. As a > result, I think a module parameter will be no different from a kernel > command line parameter in this regard. You can still change it in /sys at runtime, even if it's in the vmlinux. -Andi 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.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS 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 581BDC433B4 for ; Wed, 14 Apr 2021 17:28:28 +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 0E01D61166 for ; Wed, 14 Apr 2021 17:28:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0E01D61166 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.intel.com 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=CdWOzaOAAJt/AQUP13SXBG1Nf8okIZcZM6DXp/AxaLs=; b=fr0uvqptaGffiPOoxxGMIF80i QZaiDSi3hvxrkxBGI6m0vNcQ1ogxRqwg5d6EWSWIM1x3VuDdIThFpDboJzGRURC6uAs/msrFhmmy4 qC//jdwaXLh+ZSmq+zUn93bNiUZXD9qRcPRsipRXXABI0GmJiMbFMIYYo7Ii9Q9QvNsBPYxUlgnBL KzeMDJl6OvycimzAQzzPyVkk1YpAXennPODIW0Sn0iW1begehtu1SRbq+sWl2qtBLsdkifYGN6C43 cLUUo0U9N/OL8fvpNmrdOPlLQIOYfw9isH4thH5m4iMfLtqOnsHLGKKmoqED2k7lxqlCAoI7YdO/a ktNVLkg3w==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lWjHQ-00DFzn-PI; Wed, 14 Apr 2021 17:26:21 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lWjHE-00DFxl-6W for linux-arm-kernel@desiato.infradead.org; Wed, 14 Apr 2021 17:26:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=j6CXUfpO3INEvcM1+y6KBMTeuaRI92q0iLrsavKuwVw=; b=jvLwe4MX46puYtV8X/P08ZdzRj dfLvS6ihUcH0NKImQEu97yuUK2jJmWr93ryOwkRS9+8vT4BAStC6i6DNH7TAiIY7hIPtqnc8F8x02 jl1rUp1tgX3uJaVWfWpnZ6HzBeyA7AHqmy0Ena6Im0GVoHHrAcpJJlPbhVPD1zcQvXLY7RDgrUalG FafNyYTj8fpv4EvVx6hV/QKdTudWzbv2rzl1LluFlJ+BpC7NXgzKpJw0KgG+CB5gtwWUixuGn8Iim DjIbCIEYhYAbaysbaipT1en1o72zhB9DjvfUJwqITbUsFNczqhtx0Kdv56t8eKvNg26p/eVQRH855 IGG/OVAw==; Received: from mga14.intel.com ([192.55.52.115]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lWjHB-007yS2-NX for linux-arm-kernel@lists.infradead.org; Wed, 14 Apr 2021 17:26:06 +0000 IronPort-SDR: NfPKxGs7ZxZPBjK0vl4arGxWGFA2riHo3kEtEb5lRH4YVkErJ6eVaFvok01MoAaULdcXcrOKp7 tbUMBB3UdCBw== X-IronPort-AV: E=McAfee;i="6200,9189,9954"; a="194256302" X-IronPort-AV: E=Sophos;i="5.82,222,1613462400"; d="scan'208";a="194256302" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Apr 2021 10:26:04 -0700 IronPort-SDR: aCgK6sJ6v3Sd9JwBKp2NvJfbWrjZ03o3vlE6FpkJ3IC5d9jYjwIBCCIuKlRQYoMYNH81qdJ5CV qTbLp4TDfmGg== X-IronPort-AV: E=Sophos;i="5.82,222,1613462400"; d="scan'208";a="522065580" Received: from tassilo.jf.intel.com ([10.54.74.11]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Apr 2021 10:26:03 -0700 Date: Wed, 14 Apr 2021 10:26:02 -0700 From: Andi Kleen To: Waiman Long Cc: Alex Kogan , linux@armlinux.org.uk, Peter Zijlstra , Ingo Molnar , will.deacon@arm.com, arnd@arndb.de, linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, tglx@linutronix.de, bp@alien8.de, hpa@zytor.com, x86@kernel.org, guohanjun@huawei.com, jglauber@marvell.com, steven.sistare@oracle.com, daniel.m.jordan@oracle.com, dave.dice@oracle.com Subject: Re: [External] : Re: [PATCH v14 4/6] locking/qspinlock: Introduce starvation avoidance into CNA Message-ID: <20210414172602.GW3762101@tassilo.jf.intel.com> References: <20210401153156.1165900-1-alex.kogan@oracle.com> <20210401153156.1165900-5-alex.kogan@oracle.com> <87mtu2vhzz.fsf@linux.intel.com> <4a9dbfa7-db68-a2dc-9018-a5b74f0f421c@redhat.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <4a9dbfa7-db68-a2dc-9018-a5b74f0f421c@redhat.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210414_102605_800995_A5541238 X-CRM114-Status: UNSURE ( 7.07 ) 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 > The CNA code, if enabled, will be in vmlinux, not in a kernel module. As a > result, I think a module parameter will be no different from a kernel > command line parameter in this regard. You can still change it in /sys at runtime, even if it's in the vmlinux. -Andi _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel