You can try to remove this line in
arch/mips/loongson/loongson-3/loongson3_cpuautoplug.c
BUG_ON(smp_processor_id() != 0);
Huacai
On Mon, May 19, 2014 at 12:18 AM, David Kuehling <[email protected]> wrote:
>>>>>> "Huacai" == Huacai Chen <[email protected]> writes:
>
>> If it is really autoplug's bug, why the message reports error in
>> crypt_convert()? I'm confusing.
>
> I'm somewhat confused, too, but looking at he code, there is not a
> single call to smp_processor_id() in crypt_convert(). Then
> do_autoplug_timer() runs from some kind of timer
> (INIT_DELAYED_WORK_DEFERRABLE), and I assumed that it may run on top of
> the stack of crypt_convert, interrupting crypt_convert like an IRQ.
>
> When doing I/O intensive stuff on an encrypted partition, a _lot_ of
> time is spent in crypt_convert, so statistically speaking a timer would
> have a high probability of interrupting crypt_convert() and not any
> other function.
>
> However, I don't know nothing about the linux kernel, never having done
> any serious kernel programming, so this is second-guessing at best.
>
> David
> --
> GnuPG public key: http://dvdkhlng.users.sourceforge.net/dk2.gpg
> Fingerprint: B63B 6AF2 4EEB F033 46F7 7F1D 935E 6F08 E457 205F
--
You received this message because you are subscribed to the Google Groups
"loongson-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/loongson-dev.
For more options, visit https://groups.google.com/d/optout.