lkml.org 
[lkml]   [2007]   [Dec]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: RFC: remove __read_mostly
On Mon, Dec 17, 2007 at 01:15:56PM +0100, Andi Kleen wrote:
> > So... once we've moved all read-mostly variables into __read_mostly, what
> > is left behind in bss?
>
> I had already covered that in the next paragraph which you conveniently
> snipped :)
>
> Anyways I suspect the right solution for that would be more classes
> of variables for even better grouping.
>...

Is there any way to tell gcc that it's still allowed to omit the
variable when it's able to prove it's read-only?

My basic fear with all the __read_mostly, immediate values,... stuff is
that it might interfere with gcc optimizations.

> -Andi

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed



\
 
 \ /
  Last update: 2007-12-17 13:43    [W:0.417 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site