lkml.org 
[lkml]   [2010]   [Mar]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateWed, 31 Mar 2010 14:57:20 -0700
From"H. Peter Anvin" <>
SubjectRe: start_kernel(): bug: interrupts were enabled early
On 03/31/2010 02:54 PM, Russell King wrote:
> On Wed, Mar 31, 2010 at 04:42:25PM -0500, Christoph Lameter wrote:
>> Do not run the checks while we are in a single threaded context?
>>
>> I thought we had some dynamic code patching thingamy that could change
>> those when we go to smp mode?
>
> You have to remember that on embedded architectures, such as ARM,
> where XIP is supported we can't change the text segment at run time -
> which means dynamic code patching won't work.
>
> However, the kernel should still work in such situations.
>

The question still remains what the incremental cost is of doing
irqsave/irqrestore.

-hpa


\
 
 \ /
  Last update: 2010-04-01 00:03    [from the cache]
©2003-2010