[lkml]   [2001]   [Nov]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] take 2 of the tr-based current
On Fri, 9 Nov 2001, Manfred Spraul wrote:

> "David S. Miller" wrote:
> >
> > From: Manfred Spraul <>
> > Date: Fri, 09 Nov 2001 15:54:03 +0100
> >

> smp_processor_id() is definitively not const.
> OTHO 'current' is const.
> --

Not as far as the compiler is concerned! You don't want the compiler
to generate code that reads 'current' once upon startup, and never
again. Further, you don't want that pointer to exist in .rodata, you
want it with the changable variables in .data or .bss .

Dick Johnson

Penguin : Linux version 2.4.1 on an i686 machine (799.53 BogoMips).

I was going to compile a list of innovations that could be
attributed to Microsoft. Once I realized that Ctrl-Alt-Del
was handled in the BIOS, I found that there aren't any.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:13    [W:0.131 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site