diff options
author | Long Li <[email protected]> | 2016-11-08 14:04:38 -0800 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2016-11-29 17:22:43 -0600 |
commit | 0de8ce3ee8e38cc66683438f715c79a2cc69539e (patch) | |
tree | 7defffab1a2a78f999764dcc89424f519dc89038 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | e74d2ebdda33b3bdd1826b5b92e9aa45bdf92bb3 (diff) |
PCI: hv: Allocate physically contiguous hypercall params buffer
hv_do_hypercall() assumes that we pass a segment from a physically
contiguous buffer. A buffer allocated on the stack may not work if
CONFIG_VMAP_STACK=y is set.
Use kmalloc() to allocate this buffer.
Reported-by: Haiyang Zhang <[email protected]>
Signed-off-by: Long Li <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Acked-by: K. Y. Srinivasan <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions