Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1459595
| From | Arnd Bergmann <arnd@arndb.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] ARM: cpuidle: declare cpuidle_ops __read_mostly |
| Date | 2016-08-10 21:10 +0200 |
| Message-ID | <s4H35-I0-57@gated-at.bofh.it> (permalink) |
| References | <s4Gqo-b4-121@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wednesday, August 10, 2016 4:49:57 PM CEST Jisheng Zhang wrote: > diff --git a/arch/arm/kernel/cpuidle.c b/arch/arm/kernel/cpuidle.c > index 7dccc96..762e0929 100644 > --- a/arch/arm/kernel/cpuidle.c > +++ b/arch/arm/kernel/cpuidle.c > @@ -19,7 +19,7 @@ extern struct of_cpuidle_method __cpuidle_method_of_table[]; > static const struct of_cpuidle_method __cpuidle_method_of_table_sentinel > __used __section(__cpuidle_method_of_table_end); > > -static struct cpuidle_ops cpuidle_ops[NR_CPUS]; > +static struct cpuidle_ops cpuidle_ops[NR_CPUS] __read_mostly; Should this perhaps be percpu data instead? Arnd
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
Re: [PATCH] ARM: cpuidle: declare cpuidle_ops __read_mostly Arnd Bergmann <arnd@arndb.de> - 2016-08-10 21:10 +0200
Re: [PATCH] ARM: cpuidle: declare cpuidle_ops __read_mostly Jisheng Zhang <jszhang@marvell.com> - 2016-08-10 22:30 +0200
Re: [PATCH] ARM: cpuidle: declare cpuidle_ops __read_mostly Jisheng Zhang <jszhang@marvell.com> - 2016-08-10 22:30 +0200
Re: [PATCH] ARM: cpuidle: declare cpuidle_ops __read_mostly Arnd Bergmann <arnd@arndb.de> - 2016-08-10 23:20 +0200
csiph-web