Received: by 2002:aa6:c3ca:0:b029:c8:4414:5686 with SMTP id b10csp1817821lkq; Fri, 19 Mar 2021 12:38:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw/WpNxjOetSSioR0ioP9k+jnG8QtDsoeTK2+FS85jD62yfE+nXq0Za4HdQEbCI3w9gk7j/ X-Received: by 2002:a05:6402:1545:: with SMTP id p5mr11432890edx.155.1616182685813; Fri, 19 Mar 2021 12:38:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616182685; cv=none; d=google.com; s=arc-20160816; b=XBA91/IEWJHbRuYrjkRJtAvF7OYe54gVVq8Ji3VpD27noRpf42+ifsBzexKcTQ3zA4 /zx6surKvG/qsOluu/alagZMuukfTfT3GI7q8BmXw2WRKbbl/6Thgzpq/znnGUM+42eP YwpuLPFyNzf9TssfORb+HXplEOhTGeazCDY5jB06CyogXjyykDMFei73pXYsSPRp8vCj GR6pO4ykcGOa1ccbO7hfQVwqp//l6UrixXx1EtnBA5VBglJSqOdFdcTAgOeQi0XNn8F2 95G3IkLJLcXR5LLmDAx9ylyPgx7cR6Kt/cYP1sGv9kXwXOpyXSnZxhjL5zKfugN7u4sG hNTw== 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=terqXH9wF8X6uGRtSftYzgYt96v/nFnRfp1SIBYf1Sc=; b=u2fvK5Ye8Xd9CN+1ybsJ98wNUVkku1z6GOlP3fxyCAEuzzlp/lPMRcvY9TztsVaqzT i7YQZCYHnRItVCpdfZ0u9Hpi6YvSXPyAddwKlibCqOq8vwChj5pLtOPLPzhJHPfSKl/r huLGZlTgRQeZqeIVIsLSCjtYFsc8tlydckMC06BFcP3c3roEp3v/wP1qIXZYn2gdsSg2 d6VSC2O7ivaA05XOonJRr15/+GmDWvE6cqUvQ/bMBgnwtOeQ6rgqWBt5BfPd1Eq0oegw x6WrVXpVQqOVaoLdPuzhmEon+NVNwu0eaZEV2IHgF+DkV3Y0yX6bjbFEVBBXzs0URZHg hqKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b="CXw/JHiL"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l4si4743991eje.225.2021.03.19.12.37.42; Fri, 19 Mar 2021 12:38:05 -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=@infradead.org header.s=desiato.20200630 header.b="CXw/JHiL"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230226AbhCSTes (ORCPT + 99 others); Fri, 19 Mar 2021 15:34:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36790 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230221AbhCSTeo (ORCPT ); Fri, 19 Mar 2021 15:34:44 -0400 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A1966C06174A for ; Fri, 19 Mar 2021 12:34:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; 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=terqXH9wF8X6uGRtSftYzgYt96v/nFnRfp1SIBYf1Sc=; b=CXw/JHiLsltMu+RII+0p48FIlL EJeDK580kai4cfd3OxGdluUaLodBKlk+DDa2G2vTe85pyWinOLagOnf7sVEtLYKxLmGe9M44Lg0U9 qDdKGBMkZqZO3WIcdKG6WkITh61E1HGOb0MRaFtRWqd+3StotrII3sQY17ywpYL5VT+uC/k309jEO RxI37h1NRNZy95U6NZXc0JQgBaZqak+ZIYRBF1yOBDHjtog27FdTh0Sa57jr24CyQ8qQ5ACr6qKJU g+MMmWzTEl0YSuWQcnbSA8pG58g3Agcx9bv+72Ri8arTGC1P3bqj6t/oG4t27lJbV4Y22MnAAU0JX 9dtf/iBg==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.94 #2 (Red Hat Linux)) id 1lNKt7-0083o6-2a; Fri, 19 Mar 2021 19:34:25 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 25EBF3012DF; Fri, 19 Mar 2021 20:34:24 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 0D996200FFB59; Fri, 19 Mar 2021 20:34:24 +0100 (CET) Date: Fri, 19 Mar 2021 20:34:24 +0100 From: Peter Zijlstra To: Steven Rostedt Cc: Josh Poimboeuf , x86@kernel.org, jbaron@akamai.com, ardb@kernel.org, linux-kernel@vger.kernel.org, sumit.garg@linaro.org, oliver.sang@intel.com, jarkko@kernel.org, jeyu@kernel.org Subject: Re: [PATCH 3/3] static_call: Fix static_call_update() sanity check Message-ID: References: <20210318113156.407406787@infradead.org> <20210318113610.739542434@infradead.org> <20210318161308.vu3dhezp2lczch6f@treble> <20210319140005.7ececb11@gandalf.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210319140005.7ececb11@gandalf.local.home> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 19, 2021 at 02:00:05PM -0400, Steven Rostedt wrote: > Would making __exit code the same as init code work? That is, load it just > like module init code is loaded, and free it when the init code is freed As stated, yes. But it must then also identify as init through within_module_init().