diff options
| author | NeilBrown <neilb@suse.com> | 2018-02-20 13:23:38 +1100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-02-22 15:06:36 +0100 |
| commit | 52edc44ffbd05a3f6f6a8db2b07e2d3c6cb81db3 (patch) | |
| tree | 503e0637be7a0d11d11d7c765ed7ed1759a7facd /tools/perf/scripts/python/stackcollapse.py | |
| parent | 5955572b19f64bdaddd778079f95fb3cafaadfda (diff) | |
| download | linux-52edc44ffbd05a3f6f6a8db2b07e2d3c6cb81db3.tar.gz linux-52edc44ffbd05a3f6f6a8db2b07e2d3c6cb81db3.zip | |
staging: lustre: socklnd: simplify ksnc_rx_iov_space
ksnc_rx_iov_space is currently a union of two arrays,
one of 'struct kvec', the other of 'struct bio_vec'.
The 'struct bio_vec' option is never used. The
array of kvec is used to read in a packet header, or
to read data that needs to be skipped so as to synchronize
with a packet boundary.
In each case the target memory location is a virtual address,
never a page, so 'struct bio_vec' is never needed.
When we read into a page, different code steps up a separate
array of 'struct bio_vec'.
So remove the bio_vec option, and remove the union ksock_rxiovspace..
Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
