login
Header Space

 
 

Re: [PATCH 2.6.25] module: allow ndiswrapper to use GPL-only symbols

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Linus Torvalds <torvalds@...>
Cc: Pavel Roskin <proski@...>, Zan Lynx <zlynx@...>, linux-kernel <linux-kernel@...>, Jon Masters <jcm@...>, Rusty Russell <rusty@...>, Greg Kroah-Hartman <gregkh@...>
Date: Tuesday, March 4, 2008 - 4:51 pm

* Linus Torvalds <torvalds@linux-foundation.org> wrote:


yeah, i agree that putting it into userspace is quite insane.

it might possible to do it halfways sanely via existing arch/x86/kvm/ 
infrastructure though. VMX/SVM context will properly emulate the IRQ 
flag so cli/sti will work fine, and as long as DMA is properly 
quarantined via an iommu it might even not corrupt the rest of the 
system. Right now KVM is tailored for full system emulation but there's 
no strong reason why it couldnt emulate just a single hardware domain, 
with an NDIS driver sitting in that domain - talking to the rest of the 
system via hypercalls.


the ugliest technical aspect of them being in the Linux host kernel is 
that NDIS drivers are used to a larger kernel stack, so they very 
frequently overflow the Linux kernel stack. Not sure whether recent 
versions of ndiswrapper have solved this problem.

	Ingo
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 2.6.25] module: allow ndiswrapper to use GPL-only..., Ingo Molnar, (Tue Mar 4, 4:51 pm)
speck-geostationary