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


Groups > linux.debian.kernel > #80624

Re: CONFIG_PREEMPT_DYNAMIC=y?

From Diederik de Haas <didi.debian@cknow.org>
Newsgroups linux.debian.kernel
Subject Re: CONFIG_PREEMPT_DYNAMIC=y?
Date 2023-10-08 19:30 +0200
Message-ID <HmFLj-eqM9-7@gated-at.bofh.it> (permalink)
References <HmEPf-eqdx-7@gated-at.bofh.it>
Organization Connecting Knowledge

Show all headers | View raw


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

On 8 October 2023 18:20:20 CEST Johannes Schauer Marin Rodrigues wrote:
> I'm wondering whether it'd make sense for the Debian kernel to be built with
> CONFIG_PREEMPT_DYNAMIC=y.

Thanks for raising this, as the current situation appears a bit 'weird'.

======= PC (amd64) ======
$ uname -a
Linux bagend 6.5.0-1-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.5.3-1 (2023-09-13) x86_64 GNU/Linux

$ grep PREEMPT_DYNAMIC /boot/config-6.5.0-1-amd64 
CONFIG_PREEMPT_DYNAMIC=y
CONFIG_HAVE_PREEMPT_DYNAMIC=y
CONFIG_HAVE_PREEMPT_DYNAMIC_CALL=y
========================

======= SBC (arm64) ======
$ uname -a
Linux cs21 6.1.0-13-arm64 #1 SMP Debian 6.1.55-1 (2023-09-29) aarch64 GNU/Linux

$ grep PREEMPT_DYNAMIC /boot/config-6.1.0-13-arm64 
# CONFIG_PREEMPT_DYNAMIC is not set
CONFIG_HAVE_PREEMPT_DYNAMIC=y
CONFIG_HAVE_PREEMPT_DYNAMIC_KEY=y
=========================
(grep output is the same on a 6.6 kernel I use on another arm64 SBC)

In the Debian kernel it's not explicitly enabled and it's having a different
effect on amd64 compared to arm64.
In any case, I think it would be useful if this setting was explicitly set or
unset, or the above situation been made explicit ... with a nice commit message
explaining why those settings were made.

Cheers,
  Diederik

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