login
Header Space

 
 

Re: Reexport init_mm ?

Previous thread: [PATCH 1/1] Removed deprecated init_module and cleanup_module functions and updated to use module_init and module_exit. by Jon Schindler on Wednesday, February 27, 2008 - 4:23 am. (1 message)

Next thread: [GIT PULL] sh updates for 2.6.25-rc4 by Paul Mundt on Wednesday, February 27, 2008 - 4:35 am. (1 message)
To: kernel list <linux-kernel@...>
Date: Wednesday, February 27, 2008 - 4:29 am

Hi,
init_mm is no longer exported in 2.6.25, because there are no in tree
modules that use it.
But the closed sources nvidia drivers are using it.
Is it possible to reexport this symbol to let the driver work with this kernel?

Please CC me when repyling.
--
To: drago01 <drago01@...>
Cc: kernel list <linux-kernel@...>
Date: Thursday, February 28, 2008 - 3:23 am

The fact that there are no in-tree modules that use init_mm is rather 
compelling evidence that it's not a necessary part of the kernel module 
API.  Nvidia needs to fix their code.  If this is a burden, perhaps they 
should publish their code under a GPLv2-compatible license so we can 
show them how to do it.

	-- Chris
--
To: Chris Snook <csnook@...>
Cc: drago01 <drago01@...>, kernel list <linux-kernel@...>
Date: Friday, February 29, 2008 - 9:26 am

Publish it and get it merged so you'd have no choice but to keep the
symbol exported in the first place?
--
To: Ioan Ionita <opslynx@...>
Cc: drago01 <drago01@...>, kernel list <linux-kernel@...>
Date: Friday, February 29, 2008 - 2:01 pm

High-performance graphics developers are pretty much the last people on 
earth I want to see writing code that calls init_mm.  These people 
patent their bugs, rather than fixing them, when they turn out to make 
things go a little faster and generate "mostly correct" results.  I 
think we have a lot to teach them about kernel driver development, 
including how to get by without init_mm being exported.

	-- Chris

--
To: Chris Snook <csnook@...>
Cc: drago01 <drago01@...>, kernel list <linux-kernel@...>
Date: Saturday, March 1, 2008 - 7:46 am

Interesting how the less knowledgeable seem to be the ones who sign the NDAs
--
To: drago01 <drago01@...>
Cc: kernel list <linux-kernel@...>
Date: Wednesday, February 27, 2008 - 5:10 am

Yes we'll get to it right away...

Oh wait...

Dave.
--
Previous thread: [PATCH 1/1] Removed deprecated init_module and cleanup_module functions and updated to use module_init and module_exit. by Jon Schindler on Wednesday, February 27, 2008 - 4:23 am. (1 message)

Next thread: [GIT PULL] sh updates for 2.6.25-rc4 by Paul Mundt on Wednesday, February 27, 2008 - 4:35 am. (1 message)
speck-geostationary