diff options
author | 2016-02-26 14:59:57 -0800 | |
---|---|---|
committer | 2016-03-10 21:49:02 -0800 | |
commit | 26418649eead52619d8dd6cbc6760a1b144dbcd2 (patch) | |
tree | 89baa8edf0b0f25f1a2c19a113ce064848e1e72b /tools/perf/scripts/python/stackcollapse.py | |
parent | target/user: Free data ring in unified function (diff) | |
download | linux-dev-26418649eead52619d8dd6cbc6760a1b144dbcd2.tar.xz linux-dev-26418649eead52619d8dd6cbc6760a1b144dbcd2.zip |
target/user: Introduce data_bitmap, replace data_length/data_head/data_tail
The data_bitmap was introduced to support asynchornization accessing of
data area.
We divide mailbox data area into blocks, and use data_bitmap to track the
usage of data area. All the new command's data would start with a new block,
and may left unusable space after it end. But it's easy to track using
data_bitmap.
Now we can allocate data area for asynchronization accessing from userspace,
since we can track the allocation using data_bitmap. The userspace part would
be the same as Maxim's previous asynchronized implementation.
Signed-off-by: Sheng Yang <sheng@yasker.org>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions