summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/lib/Transforms/Utils/CloneModule.cpp
diff options
context:
space:
mode:
authorarybchik <arybchik@FreeBSD.org>2015-01-29 18:57:27 +0000
committerarybchik <arybchik@FreeBSD.org>2015-01-29 18:57:27 +0000
commit46a080cb742b12fdad8a9026d6292124446b0a20 (patch)
tree9c0afe7726a82fa76a0f8b1296c3eb9ba5fac65d /contrib/llvm/lib/Transforms/Utils/CloneModule.cpp
parent92c267b4a9a4fa10360316e94acd0a6486a2d4cf (diff)
downloadFreeBSD-src-46a080cb742b12fdad8a9026d6292124446b0a20.zip
FreeBSD-src-46a080cb742b12fdad8a9026d6292124446b0a20.tar.gz
sfxge: Remove extra cache-line alignment and reorder sfxge_evq_t
Remove the first member alignment to cacheline since it is nop. Use __aligned() for the whole structure to make sure that the structure size is cacheline aligned. Remove lock alignment to make the structure smaller and fit all members used on event queue processing into one cacheline (128 bytes) on x86-64. The lock is obtained as well from different context when event queue statistics are retrived from sysctl context, but it is infrequent. Reorder members to avoid padding and go in usage order on event processing. As the result all structure members used on event queue processing fit into exactly one cacheline (128 byte) now. Sponsored by: Solarflare Communications, Inc. Approved by: gnn (mentor)
Diffstat (limited to 'contrib/llvm/lib/Transforms/Utils/CloneModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud