Re: [PATCH v3 7/7] arm64: support PREEMPT_DYNAMIC

Frederic Weisbecker
2022-02-10T15:59:39Z

On Thu, Feb 10, 2022 at 12:00:56PM +0000, Mark Rutland wrote:
> On Thu, Feb 10, 2022 at 09:38:37AM +0000, Mark Rutland wrote:
> > On Wed, Feb 09, 2022 at 08:57:09PM +0100, Frederic Weisbecker wrote:
> > > On Wed, Feb 09, 2022 at 03:35:35PM +0000, Mark Rutland wrote:
> > > > Note that PREEMPT_DYNAMIC is `def bool y`, so this will default to
> > > > enabled.
> > >
> > > It should probably be "def_bool y if HAVE_STATIC_CALL_INLINE"...
> >
> > Sure; I'm more than happy to fold that into patch 5.
>
> For the moment I've made that:
>
> def_bool y if HAVE_PREEMPT_DYNAMIC_CALL
>
> ... since that fit more neatly with the other bits I had to add, and didn't
> change the existing behaviour of 32-bit x86.
>
> Please shout if you think that should be HAVE_STATIC_CALL_INLINE specifically!

I seem to remember peterz didn't mind keeping it default y as long as
HAVE_STATIC_CALL*. So I guess that's fine.

Thanks!