[Xcb] [PATCH 1/2] Don't declare xcb_req as static
Keith Packard
keithp at keithp.com
Wed Jun 28 17:11:35 UTC 2017
Adam Jackson <ajax at redhat.com> writes:
> Doing so forces the compiler to allocate storage for the symbol in
> .data, which means 24 bytes of dirty data and a relocation per request
> function.
Yeah, no way to make it actually constant as it has a pointer to the
xcb_extension_t.
Reviewed-by: Keith Packard <keithp at keithp.com>
--
-keith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/xcb/attachments/20170628/4a8f711d/attachment.sig>
More information about the Xcb
mailing list