diff options
author | Frank Haverkamp <haver@linux.vnet.ibm.com> | 2014-03-20 18:11:05 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-04-16 23:12:39 +0400 |
commit | 718f762efc454796d02f172a929d051f2d6ec01a (patch) | |
tree | 13d8f9558b39963356082460de3ee6855454d972 /include/media/s5k4ecgx.h | |
parent | ebb2c96bb9214ba38c7fe35d5d725f6e7cb3bbc8 (diff) | |
download | linux-718f762efc454796d02f172a929d051f2d6ec01a.tar.xz |
GenWQE: Fix multithreading problems
When being used in a multithreaded application there were problems
with memory pages/cachelines accessed by multiple threads/cpus at the
same time, while doing DMA transfers to/from those. To avoid such
situations this fix is creating a copy of the first and the last page
if it is not fully used. The data is copied from user-space into those
pages and results are copied back when the DDCB-request is
successfully finished.
Signed-off-by: Frank Haverkamp <haver@linux.vnet.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/media/s5k4ecgx.h')
0 files changed, 0 insertions, 0 deletions