BUG: sleeping function called from invalid context at mm/slub.c:795 in_atomic(): 0, irqs_disabled(): 1, pid: 13398, name: pm-suspend Pid: 13398, comm: pm-suspend Not tainted 2.6.38.6-27.fc15.x86_64 #1 Call Trace: [] __might_sleep+0xeb/0xf0 [] __kmalloc+0x79/0x10d [] ? alloc_ioapic_entries+0x27/0x87 [] alloc_ioapic_entries+0x27/0x87 [] lapic_resume+0x3a/0x24d [] ? cpufreq_resume+0x2d/0xac [] __sysdev_resume+0x22/0xc2 [] sysdev_resume+0xb3/0xf8 [] suspend_devices_and_enter+0x149/0x1d6 [] enter_state+0xd7/0x129 [] state_store+0xaf/0xc5 [] kobj_attr_store+0x17/0x19 [] sysfs_write_file+0x111/0x14d [] vfs_write+0xac/0xf3 [] sys_write+0x4a/0x6e [] system_call_fastpath+0x16/0x1b