[PATCH linux-4.19.y 0/5] fix memleak of bfq weights_tree node

Yu Kuai posted 5 patches 4 years, 6 months ago
block/bfq-iosched.c | 287 +++++++++++++++++++++++++++-----------------
block/bfq-iosched.h |  76 +++++++++---
block/bfq-wf2q.c    |  56 +++++----
3 files changed, 270 insertions(+), 149 deletions(-)
[PATCH linux-4.19.y 0/5] fix memleak of bfq weights_tree node
Posted by Yu Kuai 4 years, 6 months ago
Our test found that bfq_weight_counter can leak quite easy. This problem
can be fixed by patch 4, and other patches is needed to backport patch
4.

Federico Motta (2):
  block, bfq: improve asymmetric scenarios detection
  block, bfq: fix asymmetric scenarios detection

Paolo Valente (3):
  block, bfq: fix decrement of num_active_groups
  block, bfq: fix queue removal from weights tree
  block, bfq: fix use after free in bfq_bfqq_expire

 block/bfq-iosched.c | 287 +++++++++++++++++++++++++++-----------------
 block/bfq-iosched.h |  76 +++++++++---
 block/bfq-wf2q.c    |  56 +++++----
 3 files changed, 270 insertions(+), 149 deletions(-)

-- 
2.31.1

Re: [PATCH linux-4.19.y 0/5] fix memleak of bfq weights_tree node
Posted by Greg KH 4 years, 6 months ago
On Tue, Dec 21, 2021 at 07:38:44PM +0800, Yu Kuai wrote:
> Our test found that bfq_weight_counter can leak quite easy. This problem
> can be fixed by patch 4, and other patches is needed to backport patch
> 4.
> 
> Federico Motta (2):
>   block, bfq: improve asymmetric scenarios detection
>   block, bfq: fix asymmetric scenarios detection
> 
> Paolo Valente (3):
>   block, bfq: fix decrement of num_active_groups
>   block, bfq: fix queue removal from weights tree
>   block, bfq: fix use after free in bfq_bfqq_expire
> 
>  block/bfq-iosched.c | 287 +++++++++++++++++++++++++++-----------------
>  block/bfq-iosched.h |  76 +++++++++---
>  block/bfq-wf2q.c    |  56 +++++----
>  3 files changed, 270 insertions(+), 149 deletions(-)
> 
> -- 
> 2.31.1
> 

All now queued up, thanks.

greg k-h