Re: [PATCH v2 1/1] bsg-lib: fix use-after-free under memory-pressure

2017-10-02 Thread Christoph Hellwig
Looks good: Reviewed-by: Christoph Hellwig

[PATCH v2 1/1] bsg-lib: fix use-after-free under memory-pressure

2017-10-01 Thread Benjamin Block
When under memory-pressure it is possible that the mempool which backs the 'struct request_queue' will make use of up to BLKDEV_MIN_RQ count emergency buffers - in case it can't get a regular allocation. These buffers are preallocated and once they are also used, they are re-supplied with old