summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2022-08-10 16:00:42 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-08-25 12:45:05 +0300
commit1d04f5d855eb0708620a49c66fd2e7d535baa411 (patch)
treeba8d9d82ea0ea0eac2fc92b82daf48a98df3ef3a /drivers/gpu/drm/i915
parent60bfd51fed8bff9eac95c22a04387ccd8caf5ea9 (diff)
downloadlinux-1d04f5d855eb0708620a49c66fd2e7d535baa411.tar.xz
rds: add missing barrier to release_refill
commit 9f414eb409daf4f778f011cf8266d36896bb930b upstream. The functions clear_bit and set_bit do not imply a memory barrier, thus it may be possible that the waitqueue_active function (which does not take any locks) is moved before clear_bit and it could miss a wakeup event. Fix this bug by adding a memory barrier after clear_bit. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Cc: stable@vger.kernel.org Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/gpu/drm/i915')
0 files changed, 0 insertions, 0 deletions