diff options
author | Vitaly Kuznetsov <vkuznets@redhat.com> | 2020-04-06 13:41:51 +0300 |
---|---|---|
committer | Wei Liu <wei.liu@kernel.org> | 2020-04-23 16:17:10 +0300 |
commit | a276463b7aeb6186e7e4315cccb032773fb31b5d (patch) | |
tree | 146a66a72e15b62f8f48a6c71fb8f62ca2c50521 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | ac0f7d42584125dab8039e60ab4ade48cc2db61c (diff) | |
download | linux-a276463b7aeb6186e7e4315cccb032773fb31b5d.tar.xz |
Drivers: hv: allocate the exact needed memory for messages
When we need to pass a buffer with Hyper-V message we don't need to always
allocate 256 bytes for the message: the real message length is known from
the header. Change 'struct onmessage_work_context' to make it possible to
not over-allocate.
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Link: https://lore.kernel.org/r/20200406104154.45010-3-vkuznets@redhat.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions