diff options
| author | Bart Van Assche <[email protected]> | 2017-08-17 13:13:26 -0700 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2017-08-18 08:45:29 -0600 |
| commit | f18c17c889e2d3a9fa079ca883534b41d9dd3155 (patch) | |
| tree | 5fab9bf17bbd2d62a1a897fbe162be3c086571b6 /tools/perf/scripts/python | |
| parent | 32494df9a5ae9aaf8bed23068e6ec1aeb3196ebf (diff) | |
skd: Enable request tags for the block layer queue
Use the request tag when allocating a skd_fitmsg_context or
skd_request_context such that the lists used to track free elements
can be eliminated. Swap the skd_end_request() and skd_release_req()
calls to avoid triggering a use-after-free. Remove
skd_fitmsg_context.state and .outstanding because FIT messages are
shared among requests and because updating a FIT message after a
request has finished whould trigger a use-after-free.
Signed-off-by: Bart Van Assche <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Hannes Reinecke <[email protected]>
Cc: Johannes Thumshirn <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions