Re: [PATCH v10 04/11] drm/shmem: Put booleans in the end of struct drm_gem_shmem_object

2023-02-17 Thread Thomas Zimmermann
Am 08.01.23 um 22:04 schrieb Dmitry Osipenko: Group all 1-bit boolean members of struct drm_gem_shmem_object in the end of the structure, allowing compiler to pack data better and making code to look more consistent. Suggested-by: Thomas Zimmermann Signed-off-by: Dmitry Osipenko Reviewed-b

[PATCH v10 04/11] drm/shmem: Put booleans in the end of struct drm_gem_shmem_object

2023-01-08 Thread Dmitry Osipenko
Group all 1-bit boolean members of struct drm_gem_shmem_object in the end of the structure, allowing compiler to pack data better and making code to look more consistent. Suggested-by: Thomas Zimmermann Signed-off-by: Dmitry Osipenko --- include/drm/drm_gem_shmem_helper.h | 30 +++--