Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #80640

Re: CONFIG_PREEMPT_DYNAMIC=y?

Path csiph.com!1.us.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!fu-berlin.de!bofh.it!news.nic.it!robomod
From Vincent Blut <vincent.debian@free.fr>
Newsgroups linux.debian.kernel
Subject Re: CONFIG_PREEMPT_DYNAMIC=y?
Date Tue, 10 Oct 2023 14:20:01 +0200
Message-ID <HnjSp-eRSW-1@gated-at.bofh.it> (permalink)
References <HmEPf-eqdx-7@gated-at.bofh.it> <HmFLj-eqM9-7@gated-at.bofh.it> <HnhQB-eQol-7@gated-at.bofh.it> <Hnjz3-eRsk-1@gated-at.bofh.it>
X-Mailbox-Line From debian-kernel-request@lists.debian.org Tue Oct 10 12:18:16 2023
Old-Return-Path <vincent.debian@free.fr>
X-Amavis-Spam-Status No, score=-12.099 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FOURLA=0.1, FREEMAIL_FROM=0.001, LDO_WHITELIST=-5, PGPSIGNATURE=-5, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -5.5
MIME-Version 1.0
Content-Type multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="k7Y2+NPmkuhXdA/Q"
Content-Disposition inline
X-Mailing-List <debian-kernel@lists.debian.org> archive/latest/140331
List-ID <debian-kernel.lists.debian.org>
List-URL <https://lists.debian.org/debian-kernel/>
List-Archive https://lists.debian.org/msgid-search/ZSVA7mN9uPeK08YD@lamella
Approved robomod@news.nic.it
Lines 56
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc debian-kernel@lists.debian.org, Johannes Schauer Marin Rodrigues <josch@debian.org>, Emanuele Rocca <ema@debian.org>, Ben Hutchings <ben@decadent.org.uk>
X-Original-Date Tue, 10 Oct 2023 14:17:50 +0200
X-Original-Message-ID <ZSVA7mN9uPeK08YD@lamella>
X-Original-References <169678202078.3029203.13684704010302829243@localhost> <3679117.hVnToU1rA3@bagend> <ZSUi_6M1vmdRFTAm@ariel> <8575683.OSOum8E3L4@bagend>
Xref csiph.com linux.debian.kernel:80640

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi,

Le 2023-10-10 13:54, Diederik de Haas a écrit :
> On Tuesday, 10 October 2023 12:10:07 CEST Emanuele Rocca wrote:
> > CONFIG_PREEMPT_DYNAMIC is set to 'y' by default on amd64 due to
> > HAVE_PREEMPT_DYNAMIC_CALL being 'y', see:
> > https://sources.debian.org/src/linux/6.5.6-1/kernel/Kconfig.preempt/?hl=101#
> > L101
> > 
> > arm64 does not have PREEMPT_DYNAMIC_CALL, this is why PREEMPT_DYNAMIC is
> > not set by default there.
> 
> Neither does amd64. So it appears something else is causing 
> CONFIG_PREEMPT_DYNAMIC to be enabled on amd64.

From the commit message introducing PREEMPT_DYNAMIC:¹

    CONFIG_PREEMPT_DYNAMIC is automatically selected by CONFIG_PREEMPT if
    the architecture provides the necessary support (CONFIG_STATIC_CALL_INLINE,
    CONFIG_GENERIC_ENTRY, and provide with __preempt_schedule_function() /
    __preempt_schedule_notrace_function()).

Cheers,
Vincent

¹ https://lore.kernel.org/all/20210118141223.123667-5-frederic@kernel.org/T/#u

Back to linux.debian.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

CONFIG_PREEMPT_DYNAMIC=y? Johannes Schauer Marin Rodrigues <josch@debian.org> - 2023-10-08 18:30 +0200
  Re: CONFIG_PREEMPT_DYNAMIC=y? Diederik de Haas <didi.debian@cknow.org> - 2023-10-08 19:30 +0200
    Re: CONFIG_PREEMPT_DYNAMIC=y? Emanuele Rocca <ema@debian.org> - 2023-10-10 12:10 +0200
      Re: CONFIG_PREEMPT_DYNAMIC=y? Johannes Schauer Marin Rodrigues <josch@debian.org> - 2023-10-10 12:20 +0200
        Re: CONFIG_PREEMPT_DYNAMIC=y? Emanuele Rocca <ema@debian.org> - 2023-10-10 12:40 +0200
          Re: CONFIG_PREEMPT_DYNAMIC=y? Marc Haber <mh+debian-kernel@zugschlus.de> - 2023-10-10 15:50 +0200
      Re: CONFIG_PREEMPT_DYNAMIC=y? Diederik de Haas <didi.debian@cknow.org> - 2023-10-10 14:00 +0200
        Re: CONFIG_PREEMPT_DYNAMIC=y? Vincent Blut <vincent.debian@free.fr> - 2023-10-10 14:20 +0200
          Re: CONFIG_PREEMPT_DYNAMIC=y? Diederik de Haas <didi.debian@cknow.org> - 2023-10-10 15:20 +0200
        Re: CONFIG_PREEMPT_DYNAMIC=y? Emanuele Rocca <ema@debian.org> - 2023-10-10 15:00 +0200
          Re: CONFIG_PREEMPT_DYNAMIC=y? Diederik de Haas <didi.debian@cknow.org> - 2023-10-10 23:30 +0200
            Re: CONFIG_PREEMPT_DYNAMIC=y? Diederik de Haas <didi.debian@cknow.org> - 2023-10-17 20:00 +0200
  Re: CONFIG_PREEMPT_DYNAMIC=y? Emanuele Rocca <ema@debian.org> - 2023-10-20 20:40 +0200

csiph-web