aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDouglas Gilbert <[email protected]>2016-05-31 17:15:07 -0400
committerMartin K. Petersen <[email protected]>2016-07-12 23:16:31 -0400
commitfb0cc8d1c1881c56683123ff129452e88fdf5575 (patch)
tree7df3e14ae2d4446d67b2a129f99081bd96dcc2d4 /tools/perf/scripts/python
parentbaa6719f902af9c03e528b08dfb847de295b5137 (diff)
scsi_debug: fix sleep in invalid context
In this post: http://www.spinics.net/lists/linux-scsi/msg97124.html the author shows some kernel infrastructure complaining about a sleep in an invalid context. Remove offending call to vmalloc(). Instead of using kzalloc() which reviewers didn't like, use a bucket system (64 bytes on the stack) and potentially multiple calls to sg_pcopy_from_buffer() to construct the 'data-in' buffer for the SCSI REPORT LUNS command. Signed-off-by: Douglas Gilbert <[email protected]> Acked-by: Christoph Hellwig <[email protected]> Reviewed-by: Bart Van Assche <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions