]> git.baikalelectronics.ru Git - kernel.git/commit
drm/ttm: remove padding from ttm_ref_object on 64bit builds
authorRichard Kennedy <richard@rsk.demon.co.uk>
Tue, 26 Jan 2010 17:10:48 +0000 (17:10 +0000)
committerDave Airlie <airlied@redhat.com>
Mon, 1 Feb 2010 01:24:50 +0000 (11:24 +1000)
commit77ab361628d2432b230ed5e753ce925893bca1eb
treed0a0331461928ef4d755775b1cedd86d5bcc03c6
parente01b9b587204b9a68e5ff4e5a598b7bc219b4c72
drm/ttm: remove padding from ttm_ref_object on 64bit builds

Re-order structure ttm_ref_object to remove 8 bytes of alignment padding
on 64 bit builds, so shrinking its size from 72 to 64 bytes allowing it
to fit into a smaller slab.

Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk>
Acked-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/ttm/ttm_object.c