diff options
author | Michael S. Tsirkin <[email protected]> | 2018-04-19 08:30:48 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-04-19 16:33:20 -0400 |
commit | 12e571693837d6164bda61e316b1944972ee0d97 (patch) | |
tree | 0a5bede2fd2c9304c7a5c861b802466bcebff509 /tools/perf/scripts/python | |
parent | f4ea89110df237da6fbcaab76af431e85f07d904 (diff) |
virtio_net: split out ctrl buffer
When sending control commands, virtio net sets up several buffers for
DMA. The buffers are all part of the net device which means it's
actually allocated by kvmalloc so it's in theory (on extreme memory
pressure) possible to get a vmalloc'ed buffer which on some platforms
means we can't DMA there.
Fix up by moving the DMA buffers into a separate structure.
Reported-by: Mikulas Patocka <[email protected]>
Suggested-by: Eric Dumazet <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
Acked-by: Jason Wang <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions