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 Newsgroups: linux.debian.kernel Subject: Re: CONFIG_PREEMPT_DYNAMIC=y? Date: Tue, 10 Oct 2023 14:20:01 +0200 Message-ID: References: X-Mailbox-Line: From debian-kernel-request@lists.debian.org Tue Oct 10 12:18:16 2023 Old-Return-Path: 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: archive/latest/140331 List-ID: List-URL: 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 , Emanuele Rocca , Ben Hutchings X-Original-Date: Tue, 10 Oct 2023 14:17:50 +0200 X-Original-Message-ID: X-Original-References: <169678202078.3029203.13684704010302829243@localhost> <3679117.hVnToU1rA3@bagend> <8575683.OSOum8E3L4@bagend> Xref: csiph.com linux.debian.kernel:80640 --k7Y2+NPmkuhXdA/Q Content-Type: text/plain; protected-headers=v1; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Date: Tue, 10 Oct 2023 14:17:50 +0200 From: Vincent Blut To: Diederik de Haas Cc: debian-kernel@lists.debian.org, Johannes Schauer Marin Rodrigues , Emanuele Rocca , Ben Hutchings Subject: Re: CONFIG_PREEMPT_DYNAMIC=y? Hi, Le 2023-10-10 13:54, Diederik de Haas a =C3=A9crit : > 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= =3D101# > > L101 > >=20 > > arm64 does not have PREEMPT_DYNAMIC_CALL, this is why PREEMPT_DYNAMIC is > > not set by default there. >=20 > Neither does amd64. So it appears something else is causing=20 > CONFIG_PREEMPT_DYNAMIC to be enabled on amd64. =46rom the commit message introducing PREEMPT_DYNAMIC:=C2=B9 CONFIG_PREEMPT_DYNAMIC is automatically selected by CONFIG_PREEMPT if the architecture provides the necessary support (CONFIG_STATIC_CALL_INL= INE, CONFIG_GENERIC_ENTRY, and provide with __preempt_schedule_function() / __preempt_schedule_notrace_function()). Cheers, Vincent =C2=B9 https://lore.kernel.org/all/20210118141223.123667-5-frederic@kernel.= org/T/#u --k7Y2+NPmkuhXdA/Q Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQSRJQjHKbAUfuoc+DAQn1qAt/bgAQUCZSVA7gAKCRAQn1qAt/bg AXDiAP9AEA3EFNC4r3GlsGaICggfXa+10oZFpi8ABoiDNw/k6wD/VJ8jWL/D4v1W 2OpUOp+JGsHxWiLt/eOvfat/EzRqygg= =pz5O -----END PGP SIGNATURE----- --k7Y2+NPmkuhXdA/Q--