[PATCH 0/5] Convert LoadExtension into LoadExtensionList and related cleanups

Emil Velikov emil.l.velikov at gmail.com
Wed Feb 5 08:20:12 PST 2014


Hello gents,

There are some patches that have been sitting in local branch for ages.

The patches handle the following
* Drop the sentinels from the existing ExtensionModule arrays and drop
the sentinel when reallocating the ExtensionModuleList. Current code
does not need the sentinels.
* Constifies the final ExtensionModule array.
* Convers the LoadExtension into LoadExtensionList. Rather than having
callers looping LoadExtension which reallocates memory for the extension
list every time, just feed the array and its size int LoadExtensionList
and let the function do a once off reallocation and loop through the
extension list itself.

Note: On the above LoadExtension... discussion I implicitly mean both
NewExtensionModule and LoadExtension.


Let me know how you feel on the subject, and keep me CC'c as I'm not
subscribed to the mainling-list.

Cheers,
Emil





More information about the xorg-devel mailing list