xserver: Cleaning up memory allocation functions and macros

Keith Packard keithp at keithp.com
Sat Apr 28 22:30:37 PDT 2007


On Sat, 2007-04-28 at 22:58 -0400, Eamon Walsh wrote:

> Also, what about ALLOCATE_LOCAL and DEALLOCATE_LOCAL?  Are there any 
> target systems out there that still don't have a working alloca?

From what we've been able to determine, *no* systems have a working
alloca as attempts to allocate 'way too much' memory are not handled
correctly. It may be easier to simply give up on this optimization
rather than carefully audit every single present and future usage
against using values provided by the user in any alloca calls.

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg/attachments/20070428/9a3890a4/attachment.pgp>


More information about the xorg mailing list