diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2018-11-02 16:25:42 +0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2018-11-06 20:23:31 +0300 |
commit | 078b7de41249b989a574339078696663e095cf37 (patch) | |
tree | 5baf7e6b2ce9b92baab332f92e4fa1b3410c253e /fs/jfs | |
parent | a0c1af46e9d71fdae7df904b91542ce2518382a1 (diff) | |
download | linux-078b7de41249b989a574339078696663e095cf37.tar.xz |
drm/file: Uncompact the feature flags
This essentially undoes
commit 39868bd7668bd47308b1dfd97c212757caee764f
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date: Tue Oct 29 08:55:58 2013 +0000
drm: Compact booleans within struct drm_file
We do lockless access to these flags everywhere, and it's kinda not a
great idea to mix lockless and bitfields. Aside from that gcc isn't
generating great code for these.
If this ever becomes an issue size-wise, I think we need atomic_t here
and atomic bitflag ops.
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: David Herrmann <dh.herrmann@gmail.com>
Cc: Dave Airlie <airlied@redhat.com>
Acked-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181102132543.16486-2-daniel.vetter@ffwll.ch
Diffstat (limited to 'fs/jfs')
0 files changed, 0 insertions, 0 deletions