On 9 Apr 01 at 12:03, Wade Hampton wrote:
> Is anyone having problems with running more than
> 1 VM on 2.4.3. I have crashed my host O/S several
> times when I try to start two VMs. Currently,
> I don't have an oops or other info to report, but
> I did see a post on the vmware list about 2.4.3 SMP
> and VMWARE.
As I already answered on VMware newsgroups:
VMware's 2.0.3 vmmon module uses save_flags() + cli()
in poll() fops, and after this cli() it calls
spin_lock() :-( It is not safest thing to do.
But it should not cause reboot. You should get
/dev/vmmon: 11 wait for global VM lock XX
and now dead machine with disabled interrupts...
As all other callers of HostIF_GlobalVMLock() hold
big kernel lock, easiest thing to do is to add
lock_kernel()/unlock_kernel() around LinuxDriver_Poll()
body.
Removing whole save_flags/cli is for sure much better,
but it is still in my queue (if you are looking into vmmon
driver, then whole poll mess is there to get wakeup on
next jiffy, and not on next + one...).
Petr Vandrovec
vandrove@vc.cvut.cz
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sun Apr 15 2001 - 21:00:11 EST