[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210318000212.l2fdz5vjhuq64yh6@treble>
Date: Wed, 17 Mar 2021 19:02:12 -0500
From: Josh Poimboeuf <jpoimboe@...hat.com>
To: Peter Zijlstra <peterz@...radead.org>
Cc: Sumit Garg <sumit.garg@...aro.org>,
Oliver Sang <oliver.sang@...el.com>, jbaron@...mai.com,
lkp@...ts.01.org, kbuild test robot <lkp@...el.com>,
Jarkko Sakkinen <jarkko@...nel.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] objtool,static_call: Don't emit static_call_site for
.exit.text
On Wed, Mar 17, 2021 at 01:45:57PM +0100, Peter Zijlstra wrote:
> arguably it simply isn't a good idea to use static_call() in __exit
> code anyway, since module unload is never a performance critical path.
Couldn't you make the same argument about __init functions, which are
allowed to do static calls?
We might consider a STATIC_CALL_SITE_EXIT flag, but I suppose we've run
out of flag space.
--
Josh
Powered by blists - more mailing lists