mbox series

[BUGFIX,V2,0/2] block, bfq: fix two memory leaks related to cgroups

Message ID 20180109092759.5454-1-paolo.valente@linaro.org
Headers show
Series block, bfq: fix two memory leaks related to cgroups | expand

Message

Paolo Valente Jan. 9, 2018, 9:27 a.m. UTC
[There was a mistake in the subject of the second patch, sorry]

Hi Jens,
these two patches fix two related memory leaks, the first reported in
[1], and the second found by ourselves while fixing the first.

Thanks,
Paolo

[1] https://www.mail-archive.com/linux-block@vger.kernel.org/msg16258.html

Paolo Valente (2):
  block, bfq: put async queues for root bfq groups too
  block, bfq: release oom-queue ref to root group on exit

 block/bfq-cgroup.c  | 7 +++++--
 block/bfq-iosched.c | 3 +++
 2 files changed, 8 insertions(+), 2 deletions(-)

--
2.15.1

Comments

Holger Hoffstätte Jan. 9, 2018, 3:30 p.m. UTC | #1
On 01/09/18 10:27, Paolo Valente wrote:
> [There was a mistake in the subject of the second patch, sorry]

> 

> Hi Jens,

> these two patches fix two related memory leaks, the first reported in

> [1], and the second found by ourselves while fixing the first.

> 

> Thanks,

> Paolo

> 

> [1] https://www.mail-archive.com/linux-block@vger.kernel.org/msg16258.html

> 

> Paolo Valente (2):

>   block, bfq: put async queues for root bfq groups too

>   block, bfq: release oom-queue ref to root group on exit

> 

>  block/bfq-cgroup.c  | 7 +++++--

>  block/bfq-iosched.c | 3 +++

>  2 files changed, 8 insertions(+), 2 deletions(-)


Gave this a try and can't reproduce the leak anymore, so for both patches:

Tested-by: Holger Hoffstätte <holger@applied-asynchrony.com>


cheers!
Holger