|To:||Ralf Baechle <email@example.com>|
|Subject:||Re: [MIPS] TLB handler fix for vmalloc'ed addresses|
|From:||Maxim Uvarov <firstname.lastname@example.org>|
|Date:||Thu, 10 Sep 2009 19:48:09 +0400|
|References:||<4AA656D8.email@example.com> <20090910141518.GA10547@linux-mips.org> <4AA90F3B.firstname.lastname@example.org> <20090910153744.GA10998@linux-mips.org>|
|User-agent:||Thunderbird 188.8.131.52 (X11/20090817)|
}So your test case allocates vmalloc memory but never touches it.Yes, it is so. Bug occurs on rmmod this module. (Module does not free memory allocated with vmalloc().Nor does it stop the thread on exit or avoid unloading. So panicing is expected.
Ralf, I'm sorry for misunderstanding. Original kernel does panic in this situation. In my patch it went to panic with
+ else if (pgd_page_vaddr(*pgd) != pgd_page_vaddr(*pgd_k)) + goto no_context; Actually it was the reason of this patch. But looks like we need go immediately to no_context for 64 bit and do not do this checks. Maxim.
|<Prev in Thread]||Current Thread||[Next in Thread>|
|Previous by Date:||Re: [MIPS] TLB handler fix for vmalloc'ed addresses, Ralf Baechle|
|Next by Date:||Re: [MIPS] TLB handler fix for vmalloc'ed addresses, Maxim Uvarov|
|Previous by Thread:||Re: [MIPS] TLB handler fix for vmalloc'ed addresses, Ralf Baechle|
|Next by Thread:||Re: [MIPS] TLB handler fix for vmalloc'ed addresses, Maxim Uvarov|
|Indexes:||[Date] [Thread] [Top] [All Lists]|