diff options
author | Logan Gunthorpe <[email protected]> | 2017-04-18 17:32:15 -0600 |
---|---|---|
committer | Christoph Hellwig <[email protected]> | 2017-04-21 16:41:47 +0200 |
commit | 1c05cf9058027dd80630d54aa3527eb2e3152e80 (patch) | |
tree | 038ea3da9c4f4c4ed86330b7273eb1401dbba3d2 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | f9f38e33389c019ec880f6825119c94867c1fde0 (diff) |
nvmet: convert from kmap to nvmet_copy_from_sgl
This is safer as it doesn't rely on the data being stored in
a single page in an sgl.
It also aids our effort to start phasing out users of sg_page. See [1].
For this we kmalloc some memory, copy to it and free at the end. Note:
we can't allocate this memory on the stack as the kbuild test robot
reports some frame size overflows on i386.
[1] https://lwn.net/Articles/720053/
Signed-off-by: Logan Gunthorpe <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Max Gurtovoy <[email protected]>
Signed-off-by: Sagi Grimberg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions