lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220906203713.4b1a2bbb@gandalf.local.home>
Date:   Tue, 6 Sep 2022 20:37:13 -0400
From:   Steven Rostedt <rostedt@...dmis.org>
To:     Bing Huang <huangbing775@....com>
Cc:     dietmar.eggemann@....com, brauner@...nel.org, bristot@...hat.com,
        bsegall@...gle.com, juri.lelli@...hat.com,
        linux-kernel@...r.kernel.org, mgorman@...e.de, mingo@...hat.com,
        peterz@...radead.org, vincent.guittot@...aro.org
Subject: Re: [PATCH RESEND] sched/topology: Add __init for
 init_defrootdomain

On Wed, 31 Aug 2022 17:39:27 +0800
Bing Huang <huangbing775@....com> wrote:

> diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h
> index b0bf2287dd9d..cd761f1fc60c 100644
> --- a/kernel/sched/sched.h
> +++ b/kernel/sched/sched.h
> @@ -883,7 +883,7 @@ struct root_domain {
>  	struct perf_domain __rcu *pd;
>  };
>  
> -extern void init_defrootdomain(void);
> +extern void __init init_defrootdomain(void);

Function prototypes in headers do not need annotations like __init.

-- Steve

>  extern int sched_init_domains(const struct cpumask *cpu_map);
>  extern void rq_attach_root(struct rq *rq, struct root_domain *rd);
>  extern void sched_get_rd(struct root_domain *rd);

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ