diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-02-10 17:32:31 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-02-12 11:59:59 +0100 |
commit | 8c2524c7fdb46d801594030504c6059afcde89fa (patch) | |
tree | bd21f61598cda6c27d04672f4d066430c14cab84 /docs/TESTING_WITH_SANITIZERS.md | |
parent | ef3fc326b9cb080134916683b5ad7095d9e3db13 (diff) | |
download | systemd-8c2524c7fdb46d801594030504c6059afcde89fa.tar.gz |
core: pahole optimization of struct Unit
We had a lone 'bool job_running_timeout_set:1', which generated a hole. Let's
move things around a bit. The structure is a tiny bit smaller and has less
holes:
/* size: 1192, cachelines: 19, members: 149 */
/* sum members: 1175, holes: 3, sum holes: 11 */
/* sum bitfield members: 27 bits, bit holes: 1, sum bit holes: 7 bits */
/* bit_padding: 14 bits */
/* last cacheline: 40 bytes */
/* size: 1184, cachelines: 19, members: 149 */
/* sum members: 1175, holes: 1, sum holes: 4 */
/* sum bitfield members: 27 bits (3 bytes) */
/* bit_padding: 13 bits */
/* last cacheline: 32 bytes */
Diffstat (limited to 'docs/TESTING_WITH_SANITIZERS.md')
0 files changed, 0 insertions, 0 deletions