linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Yu Kuai <yukuai3@huawei.com>
To: <jack@suse.cz>, <gregkh@linuxfoundation.org>,
	<paolo.valente@linaro.org>, <axboe@kernel.dk>
Cc: <linux-block@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
	<yukuai3@huawei.com>, <yi.zhang@huawei.com>
Subject: [PATCH linux-4.19.y 0/5] fix memleak of bfq weights_tree node
Date: Tue, 21 Dec 2021 19:38:44 +0800	[thread overview]
Message-ID: <20211221113849.2219126-1-yukuai3@huawei.com> (raw)

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


             reply	other threads:[~2021-12-21 11:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-21 11:38 Yu Kuai [this message]
2021-12-21 11:38 ` [PATCH linux-4.19.y 1/5] block, bfq: improve asymmetric scenarios detection Yu Kuai
2021-12-21 11:38 ` [PATCH linux-4.19.y 2/5] block, bfq: fix " Yu Kuai
2021-12-21 11:38 ` [PATCH linux-4.19.y 3/5] block, bfq: fix decrement of num_active_groups Yu Kuai
2021-12-21 11:38 ` [PATCH linux-4.19.y 4/5] block, bfq: fix queue removal from weights tree Yu Kuai
2021-12-21 11:38 ` [PATCH linux-4.19.y 5/5] block, bfq: fix use after free in bfq_bfqq_expire Yu Kuai
2021-12-22 12:10 ` [PATCH linux-4.19.y 0/5] fix memleak of bfq weights_tree node Greg KH

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=20211221113849.2219126-1-yukuai3@huawei.com \
    --to=yukuai3@huawei.com \
    --cc=axboe@kernel.dk \
    --cc=gregkh@linuxfoundation.org \
    --cc=jack@suse.cz \
    --cc=linux-block@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=paolo.valente@linaro.org \
    --cc=yi.zhang@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).