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


Groups > linux.debian.kernel > #85418 > unrolled thread

Bug#1095460: linux-source: Reading from config file is not good.

Started byCorcodel Marian <corcodel.marian@gmail.com>
First post2025-02-08 08:40 +0100
Last post2025-02-08 13:20 +0100
Articles 6 — 4 participants

Back to article view | Back to linux.debian.kernel


Contents

  Bug#1095460: linux-source: Reading from config file is not good. Corcodel Marian <corcodel.marian@gmail.com> - 2025-02-08 08:40 +0100
    Bug#1095460: linux-source: Reading from config file is not good. Bastian Blank <waldi@debian.org> - 2025-02-08 09:50 +0100
      Bug#1095460: linux-source: Reading from config file is not good. Marian Corcodel <corcodel.marian@gmail.com> - 2025-02-08 12:10 +0100
        Bug#1095460: linux-source: Reading from config file is not good. Marian Corcodel <corcodel.marian@gmail.com> - 2025-02-08 12:20 +0100
    Bug#1095460: marked as done (linux-source: Reading from config  file is not good.) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-02-08 12:20 +0100
    Bug#1095460: closed by Bastian Blank <waldi@debian.org> (Re: Bug#1095460: linux-source: Reading from config file is not good.) Marian Corcodel <corcodel.marian@gmail.com> - 2025-02-08 13:20 +0100

#85418 — Bug#1095460: linux-source: Reading from config file is not good.

FromCorcodel Marian <corcodel.marian@gmail.com>
Date2025-02-08 08:40 +0100
SubjectBug#1095460: linux-source: Reading from config file is not good.
Message-ID<KdNBv-fg2j-3@gated-at.bofh.it>
Package: linux-source
Severity: normal
X-Debbugs-Cc: corcodel.marian@gmail.com

Hi , i describe some situation wich occur on linux kernel:
File kernel/rcu/tree_exp.h
static void rcu_report_exp_cpu_mult(struct rcu_node *rnp,
                                    unsigned long mask, bool wake)
{
        int cpu;
        unsigned long flags;
        struct rcu_data *rdp;

        raw_spin_lock_irqsave_rcu_node(rnp, flags);
        if (!(rnp->expmask & mask)) {
                raw_spin_unlock_irqrestore_rcu_node(rnp, flags);
                return;
        }
        WRITE_ONCE(rnp->expmask, rnp->expmask & ~mask);
        for_each_leaf_node_cpu_mask(rnp, cpu, mask) {
                rdp = per_cpu_ptr(&rcu_data, cpu);
                if (!IS_ENABLED(CONFIG_NO_HZ_FULL) ||
!rdp->rcu_forced_tick_exp)
                        continue;
                rdp->rcu_forced_tick_exp = false;
                tick_dep_clear_cpu(cpu, TICK_DEP_BIT_RCU_EXP);
        }
        __rcu_report_exp_rnp(rnp, wake, flags); /* Releases rnp->lock. */
}

From function IS_ENABLED(CONFIG_NO_HZ_FULL) is only for muscle, using this
manner just inject delays on operations.


-- System Information:
Debian Release: 12.9
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.12.5+ (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

[toc] | [next] | [standalone]


#85419

FromBastian Blank <waldi@debian.org>
Date2025-02-08 09:50 +0100
Message-ID<KdOHf-fgEq-3@gated-at.bofh.it>
In reply to#85418
On Sat, Feb 08, 2025 at 07:32:52AM +0000, Corcodel Marian wrote:
> From function IS_ENABLED(CONFIG_NO_HZ_FULL) is only for muscle, using this
> manner just inject delays on operations.

This is a compile time config check.  It is defined here:
https://www.kernel.org/doc/html/v5.2/process/coding-style.html#conditional-compilation

Please describe why you think this is a problem.

Bastian

-- 
Earth -- mother of the most beautiful women in the universe.
		-- Apollo, "Who Mourns for Adonais?" stardate 3468.1

[toc] | [prev] | [next] | [standalone]


#85422

FromMarian Corcodel <corcodel.marian@gmail.com>
Date2025-02-08 12:10 +0100
Message-ID<KdQSJ-fiaG-11@gated-at.bofh.it>
In reply to#85419
Just one situation , include/generated/autoconf.h file can bee
manipulated after build linux kernel?

În sâm., 8 feb. 2025 la 08:40, Bastian Blank <waldi@debian.org> a scris:
>
> On Sat, Feb 08, 2025 at 07:32:52AM +0000, Corcodel Marian wrote:
> > From function IS_ENABLED(CONFIG_NO_HZ_FULL) is only for muscle, using this
> > manner just inject delays on operations.
>
> This is a compile time config check.  It is defined here:
> https://www.kernel.org/doc/html/v5.2/process/coding-style.html#conditional-compilation
>
> Please describe why you think this is a problem.
>
> Bastian
>
> --
> Earth -- mother of the most beautiful women in the universe.
>                 -- Apollo, "Who Mourns for Adonais?" stardate 3468.1

[toc] | [prev] | [next] | [standalone]


#85423

FromMarian Corcodel <corcodel.marian@gmail.com>
Date2025-02-08 12:20 +0100
Message-ID<KdR2p-fie7-3@gated-at.bofh.it>
In reply to#85422
And signature to module remain unchanged after building modules, and
resul vulnerabities.


În sâm., 8 feb. 2025 la 11:03, Marian Corcodel
<corcodel.marian@gmail.com> a scris:
>
> Just one situation , include/generated/autoconf.h file can bee
> manipulated after build linux kernel?
>
> În sâm., 8 feb. 2025 la 08:40, Bastian Blank <waldi@debian.org> a scris:
> >
> > On Sat, Feb 08, 2025 at 07:32:52AM +0000, Corcodel Marian wrote:
> > > From function IS_ENABLED(CONFIG_NO_HZ_FULL) is only for muscle, using this
> > > manner just inject delays on operations.
> >
> > This is a compile time config check.  It is defined here:
> > https://www.kernel.org/doc/html/v5.2/process/coding-style.html#conditional-compilation
> >
> > Please describe why you think this is a problem.
> >
> > Bastian
> >
> > --
> > Earth -- mother of the most beautiful women in the universe.
> >                 -- Apollo, "Who Mourns for Adonais?" stardate 3468.1

[toc] | [prev] | [next] | [standalone]


#85424 — Bug#1095460: marked as done (linux-source: Reading from config file is not good.)

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2025-02-08 12:20 +0100
SubjectBug#1095460: marked as done (linux-source: Reading from config file is not good.)
Message-ID<KdR2q-fie7-11@gated-at.bofh.it>
In reply to#85418

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

Your message dated Sat, 8 Feb 2025 12:13:41 +0100
with message-id <20250208111341.6eah6ypmow3zb5qu@shell.thinkmo.de>
and subject line Re: Bug#1095460: linux-source: Reading from config file is not good.
has caused the Debian Bug report #1095460,
regarding linux-source: Reading from config file is not good.
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1095460: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1095460
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [next] | [standalone]


#85425 — Bug#1095460: closed by Bastian Blank <waldi@debian.org> (Re: Bug#1095460: linux-source: Reading from config file is not good.)

FromMarian Corcodel <corcodel.marian@gmail.com>
Date2025-02-08 13:20 +0100
SubjectBug#1095460: closed by Bastian Blank <waldi@debian.org> (Re: Bug#1095460: linux-source: Reading from config file is not good.)
Message-ID<KdRYt-fiNv-3@gated-at.bofh.it>
In reply to#85418
But peple already have good variable

__read_mostly for most used codes.


În sâm., 8 feb. 2025 la 11:18, Debian Bug Tracking System
<owner@bugs.debian.org> a scris:
>
> This is an automatic notification regarding your Bug report
> which was filed against the linux-source package:
>
> #1095460: linux-source: Reading from config file is not good.
>
> It has been closed by Bastian Blank <waldi@debian.org>.
>
> Their explanation is attached below along with your original report.
> If this explanation is unsatisfactory and you have not received a
> better one in a separate message then please contact Bastian Blank <waldi@debian.org> by
> replying to this email.
>
>
> --
> 1095460: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1095460
> Debian Bug Tracking System
> Contact owner@bugs.debian.org with problems
>
>
>
> ---------- Forwarded message ----------
> From: Bastian Blank <waldi@debian.org>
> To: Marian Corcodel <corcodel.marian@gmail.com>, 1095460-done@bugs.debian.org
> Cc:
> Bcc:
> Date: Sat, 8 Feb 2025 12:13:41 +0100
> Subject: Re: Bug#1095460: linux-source: Reading from config file is not good.
> On Sat, Feb 08, 2025 at 11:03:48AM +0000, Marian Corcodel wrote:
> > Just one situation , include/generated/autoconf.h file can bee
> > manipulated after build linux kernel?
>
> You run "make menuconfig" again, change the config and rebuild.
>
> Bastian
>
> --
> You can't evaluate a man by logic alone.
>                 -- McCoy, "I, Mudd", stardate 4513.3
>
>
> ---------- Forwarded message ----------
> From: Corcodel Marian <corcodel.marian@gmail.com>
> To: Debian Bug Tracking System <submit@bugs.debian.org>
> Cc:
> Bcc:
> Date: Sat, 08 Feb 2025 07:32:52 +0000
> Subject: linux-source: Reading from config file is not good.
> Package: linux-source
> Severity: normal
> X-Debbugs-Cc: corcodel.marian@gmail.com
>
> Hi , i describe some situation wich occur on linux kernel:
> File kernel/rcu/tree_exp.h
> static void rcu_report_exp_cpu_mult(struct rcu_node *rnp,
>                                     unsigned long mask, bool wake)
> {
>         int cpu;
>         unsigned long flags;
>         struct rcu_data *rdp;
>
>         raw_spin_lock_irqsave_rcu_node(rnp, flags);
>         if (!(rnp->expmask & mask)) {
>                 raw_spin_unlock_irqrestore_rcu_node(rnp, flags);
>                 return;
>         }
>         WRITE_ONCE(rnp->expmask, rnp->expmask & ~mask);
>         for_each_leaf_node_cpu_mask(rnp, cpu, mask) {
>                 rdp = per_cpu_ptr(&rcu_data, cpu);
>                 if (!IS_ENABLED(CONFIG_NO_HZ_FULL) ||
> !rdp->rcu_forced_tick_exp)
>                         continue;
>                 rdp->rcu_forced_tick_exp = false;
>                 tick_dep_clear_cpu(cpu, TICK_DEP_BIT_RCU_EXP);
>         }
>         __rcu_report_exp_rnp(rnp, wake, flags); /* Releases rnp->lock. */
> }
>
> From function IS_ENABLED(CONFIG_NO_HZ_FULL) is only for muscle, using this
> manner just inject delays on operations.
>
>
> -- System Information:
> Debian Release: 12.9
>   APT prefers stable
>   APT policy: (500, 'stable')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
>
> Kernel: Linux 6.12.5+ (SMP w/8 CPU threads; PREEMPT)
> Kernel taint flags: TAINT_OOT_MODULE
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
> Shell: /bin/sh linked to /usr/bin/dash
> Init: systemd (via /run/systemd/system)

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web