might_sleep warnings 'temporary hack'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,


in kernel/rtmutex.c near line 685 in function rt_spin_lock_fastlock I do 
see:

	/* temporary hack! */
	if (likely(!current->in_printk))
		might_sleep();

and Virtualbox constantly trips on this. Can I assume this is a problem 
in the virtualbox 3.0.4 host modules?


BUG: sleeping function called from invalid context at kernel/rtmutex.c:685
in_atomic(): 1, irqs_disabled(): 0, pid: 11724, name: VirtualBox
Pid: 11724, comm: VirtualBox Tainted: G          N  2.6.29.6-jen82-rt #1
Call Trace:
 [<ffffffff802388e6>] __might_sleep+0x10a/0x10c
 [<ffffffff804c6edf>] rt_spin_lock+0x2f/0x78
 [<ffffffffa05cb89f>] RTSpinlockAcquire+0xd/0xf [vboxdrv]
 [<ffffffffa05ceb13>] RTHandleTableLookupWithCtx+0x79/0x102 [vboxdrv]

(To note that their RT* functions have nothing to do with realtime—sigh)
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux