aboutsummaryrefslogtreecommitdiffstats
path: root/lib/gcd.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2012-12-04 00:17:14 +0200
committerMichael S. Tsirkin <mst@redhat.com>2012-12-06 17:09:18 +0200
commit1280c27f8e29acf4af2da914e80ec27c3dbd5c01 (patch)
tree6b488908fab086a906656894801544210bd64335 /lib/gcd.c
parent935cdee7ee159569b0aaa10bd9244660f6672b08 (diff)
downloadkernel_goldelico_gta04-1280c27f8e29acf4af2da914e80ec27c3dbd5c01.zip
kernel_goldelico_gta04-1280c27f8e29acf4af2da914e80ec27c3dbd5c01.tar.gz
kernel_goldelico_gta04-1280c27f8e29acf4af2da914e80ec27c3dbd5c01.tar.bz2
vhost-net: flush outstanding DMAs on memory change
When memory map changes, we need to flush outstanding DMAs as they might in theory reference old memory addresses. To do this simply stop initiating new DMAs and wait for ubufs ref count to drop to 0. Afterwards reset the count back to 1. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'lib/gcd.c')
0 files changed, 0 insertions, 0 deletions