summaryrefslogtreecommitdiff
path: root/arch/arm64/kernel/sys_compat.c
diff options
context:
space:
mode:
authorJeff Moyer <jmoyer@redhat.com>2014-09-02 13:17:00 -0400
committerJiri Slaby <jslaby@suse.cz>2014-09-26 11:23:43 +0200
commit0fbdd4f77c9051e4f23b943aa8d373d151679f0d (patch)
treedfe132c201c3087fa12235f8fbf706a7b4545d29 /arch/arm64/kernel/sys_compat.c
parente66983c5b25182a5e1ebc3ab4f68f613eb1c9fe8 (diff)
aio: add missing smp_rmb() in read_events_ring
commit 2ff396be602f10b5eab8e73b24f20348fa2de159 upstream. We ran into a case on ppc64 running mariadb where io_getevents would return zeroed out I/O events. After adding instrumentation, it became clear that there was some missing synchronization between reading the tail pointer and the events themselves. This small patch fixes the problem in testing. Thanks to Zach for helping to look into this, and suggesting the fix. Signed-off-by: Jeff Moyer <jmoyer@redhat.com> Signed-off-by: Benjamin LaHaise <bcrl@kvack.org> Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'arch/arm64/kernel/sys_compat.c')
0 files changed, 0 insertions, 0 deletions