diff options
author | Long Li <longli@microsoft.com> | 2016-11-08 17:04:38 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2016-11-29 18:22:43 -0500 |
commit | 0de8ce3ee8e38cc66683438f715c79a2cc69539e (patch) | |
tree | 7defffab1a2a78f999764dcc89424f519dc89038 /tools/perf/scripts/python/call-graph-from-postgresql.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 <haiyangz@microsoft.com>
Signed-off-by: Long Li <longli@microsoft.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: K. Y. Srinivasan <kys@microsoft.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions