diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2019-08-17 15:47:33 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-08-17 18:02:49 +0100 |
commit | 4fe3997a68f3300c73adc196ff33a952febe6974 (patch) | |
tree | a8c36eec0c0fc60acb242bf071c18b33b4bbb6c8 /drivers/dma-buf | |
parent | b0baf85bb27ab028e726619f9162498f193cacbe (diff) | |
download | linux-4fe3997a68f3300c73adc196ff33a952febe6974.tar.gz linux-4fe3997a68f3300c73adc196ff33a952febe6974.tar.bz2 linux-4fe3997a68f3300c73adc196ff33a952febe6974.zip |
dma-fence: Shrink size of struct dma_fence
Rearrange the couple of 32-bit atomics hidden amongst the field of
pointers that unnecessarily caused the compiler to insert some padding,
shrinks the size of the base struct dma_fence from 80 to 72 bytes on
x86-64.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Christian König <christian.koenig@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190817144736.7826-3-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/dma-buf')
0 files changed, 0 insertions, 0 deletions