linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: Yufen Yu <yuyufen@huawei.com>, jbacik@fb.com, tj@kernel.org
Cc: linux-block@vger.kernel.org
Subject: Re: [PATCH v2] blkcg: fix memleak for iolatency
Date: Wed, 19 Aug 2020 08:10:08 -0600	[thread overview]
Message-ID: <c6a113d4-c3f3-2921-0e92-53b1513d842d@kernel.dk> (raw)
In-Reply-To: <20200811022116.1824539-1-yuyufen@huawei.com>

On 8/10/20 7:21 PM, Yufen Yu wrote:
> Normally, blkcg_iolatency_exit() will free related memory in iolatency
> when cleanup queue. But if blk_throtl_init() return error and queue init
> fail, blkcg_iolatency_exit() will not do that for us. Then it cause
> memory leak.

Applied, thanks.

-- 
Jens Axboe


      parent reply	other threads:[~2020-08-19 14:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-11  2:21 [PATCH v2] blkcg: fix memleak for iolatency Yufen Yu
2020-08-19 13:37 ` Yufen Yu
2020-08-19 14:10 ` Jens Axboe [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c6a113d4-c3f3-2921-0e92-53b1513d842d@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=jbacik@fb.com \
    --cc=linux-block@vger.kernel.org \
    --cc=tj@kernel.org \
    --cc=yuyufen@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).