lkml.org 
[lkml]   [2008]   [Aug]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.6.{26.2,27-rc} oops on virtualbox
Em Tue, 26 Aug 2008 13:18:22 -0400
Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> escreveu:

| * Luiz Fernando N. Capitulino (lcapitulino@mandriva.com.br) wrote:
| > Em Tue, 26 Aug 2008 10:53:38 -0400
| > Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> escreveu:
| >
| > | Then, after having tested (2), try this on top of it :
| > |
| > | In arch/x86/kernel/alternative.c, alternatives_smp_switch()
| > |
| > | Add unsigned long flags;
| > | Change
| > | spin_lock -> spin_lock_irqsave(&smp_alt, flags);
| > | spin_unlock(&smp_alt); -> spin_unlock_irqrestore(&smp_alt, flags);
| >
| > Hmm, I can't find spin_lock functions in alternatives_smp_switch()
| > looks like the current implementation is now using mutexes.
| >
|
| Sorry, I was looking directly at the commit which caused the problem.
| Yes, these modif should go on top of the text_poke -> text_poke_early.
|
| So in current mainline, change, in alternatives_smp_switch() :
|
| mutex_lock(&smp_alt);
| ...
|
| mutex_unlock(&smp_alt);
|
| to
|
| mutex_lock(&smp_alt);
| local_irq_save(flags);
| ...
|
| local_irq_restore(flags);
| mutex_unlock(&smp_alt);

Did not help, same oops here.

--
Luiz Fernando N. Capitulino


\
 
 \ /
  Last update: 2008-08-26 20:05    [W:0.098 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site