aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorPaolo Valente <[email protected]>2019-08-07 17:21:11 +0000
committerJens Axboe <[email protected]>2019-08-08 13:31:50 +0000
commitfd03177c33b287c6541f4048f1d67b7b45a1abc9 (patch)
tree1e95e71d6ba6bd86620b9d1267b89e463ed4df2c /tools/perf/scripts/python/event_analyzing_sample.py
parentblock, bfq: move update of waker and woken list to queue freeing (diff)
downloadkernel-fd03177c33b287c6541f4048f1d67b7b45a1abc9.tar.gz
kernel-fd03177c33b287c6541f4048f1d67b7b45a1abc9.zip
block, bfq: handle NULL return value by bfq_init_rq()
As reported in [1], the call bfq_init_rq(rq) may return NULL in case of OOM (in particular, if rq->elv.icq is NULL because memory allocation failed in failed in ioc_create_icq()). This commit handles this circumstance. [1] https://lkml.org/lkml/2019/7/22/824 Cc: Hsin-Yi Wang <[email protected]> Cc: Nicolas Boichat <[email protected]> Cc: Doug Anderson <[email protected]> Reported-by: Guenter Roeck <[email protected]> Reported-by: Hsin-Yi Wang <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Signed-off-by: Paolo Valente <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions