diff options
author | Marcin Slusarz <marcin.slusarz@gmail.com> | 2011-11-09 22:20:35 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-11-11 11:05:19 +0000 |
commit | b3e067c0b276197b59046d7095b01b99f98b2821 (patch) | |
tree | 90a260a3a560e0f06398db84ebe3feb27d569128 /lib/nlattr.c | |
parent | 3b9832f662d195755e7308f92368d44458268457 (diff) | |
download | blackbird-op-linux-b3e067c0b276197b59046d7095b01b99f98b2821.tar.gz blackbird-op-linux-b3e067c0b276197b59046d7095b01b99f98b2821.zip |
drm: serialize access to list of debugfs files
Nouveau, when configured with debugfs, creates debugfs files for every
channel, so structure holding list of files needs to be protected from
simultaneous changes by multiple threads.
Without this patch it's possible to hit kernel oops in
drm_debugfs_remove_files just by running a couple of xterms with
looped glxinfo.
Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'lib/nlattr.c')
0 files changed, 0 insertions, 0 deletions