Re: [PATCH 6/6]suspend/resume SMP support
From: Li Shaohua <hidden>
Date: 2005-04-25 00:52:32
Also in:
linux-acpi, lkml
From: Li Shaohua <hidden>
Date: 2005-04-25 00:52:32
Also in:
linux-acpi, lkml
On Sun, 2005-04-24 at 06:35, Andrew Morton wrote:
fbcon is trying to call kmalloc before the slab system is initialised. It would be best to fix that within fbcon.
This solves the problem too.
Well as the comment says, if this CPU isn't online yet, and if the system has not yet reached SYSTEM_RUNNING state then we bale out of the printk because this cpu's per-cpu resources may not yet be fully set up.
After the CPU is offline (we are doing CPU hotplug). Its per-cpu resources like kmalloc also aren't initialized. This is in SYSTEM_RUNNING state too, so the system state doesn't matter. Removing the system state check seems better than fixing the fbcon driver to me. Thanks, Shaohua ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click