xserver: Cleaning up memory allocation functions and macros

Egbert Eich eich at suse.de
Thu May 3 02:20:05 PDT 2007


Magnus Vigerlöf writes:
 > 
 > Good, then we have the same view of xnf*. The thing I see is that more and 
 > more devices are getting hot-pluggable. Input devices are next in queue, and 
 > I'm just waiting for people wanting to use VGA-adapters connected via USB or 
 > other hot-pluggable busses.

You don't have to wait! There exists a derivative of the SiS driver
that supports this. It's not hot pluggable at server runtime, yet, though.

 > 
 > So the code where calling xnf* is not a problem is steadily decreasing and 
 > making sure we then uses proper fault propagation instead of crashing will 
 > hopefully avoid future headache and patches.

Right. Once a driver is capable of hotplugging it should not use these.
 > 
 > xf86AddDriver/xf86AddInputDriver are excellent examples of functions that 
 > hasn't been a 'problem' but can be when hotplugging is working. They also 
 > doesn't have a return value so we'll have to change these in order to get rid 
 > of the xnf*-function calls..

OK. Agreed.


Cheers,
	Egbert.



More information about the xorg mailing list