Re: 2.6.35-rc3 -- kernel BUG at mm/vmalloc.c:216! - invalid opcode:0000 [#1] PREEMPT SMP DEBUG_PAGEALLOC

From: Tejun Heo
Date: Thu Jun 24 2010 - 03:50:34 EST

On 06/24/2010 09:45 AM, Xiaotian Feng wrote:
>> It's probably the same bug Cliff Wickman reported.
>> per_cpu_ptr_to_phys() was using wrong first chunk match logic which
>> ends up passing wrong addresses to vmalloc_to_page(). I have the
>> following fix patch queued in percpu#for-linus branch and was waiting
>> for Linus to come back.
>> Can you please verify the above patch fixes the problem?
> Yes, that patch fixes the problem on my box, thanks.

Thanks for verifying. Greg, we'll have to wait till Linus comes back
for mainline but maybe it's a good idea to put this into -stable queue
early? It's a rather straight forward bug fix and unlikely to be


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