Thread (9 messages) flat view 9 messages, 6 authors, 2005-02-28

Re: Re: 2.6.11-rc5

From: Buttchereit, Axel (XL) <hidden>
Date: 2005-02-26 01:13:29
Also in: lkml

Linus Torvalds wrote:
On Sat, 26 Feb 2005, Olaf Hering wrote:
quoted
modedb can not be __init because fb_find_mode() may get db == NULL.
fb_find_mode() is called from modules.

Ack. Maybe somebody should run the scripts again to check that we don't 
reference __init data from non-init functions.

		Linus
This patch has already been posted to linux-fbdev on 2005-02-10 by David Vrabel
and made me ask
	Is there any reason why this has been originally flagged "__init"?
	"vesa_modes" is not "__init". That's why I changed "intelfb" to
	use "vesa_modes".

Maybe time has come to decide, if availability of "modedb" outside
of init functions is more important than freeing (unused) kernel memory.

--Axel



  

  


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help