LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: beanhuo@micron.com, linux-scsi@vger.kernel.org,
	cang@codeaurora.org, linux-kernel@vger.kernel.org,
	Daejun Park <daejun7.park@samsung.com>,
	avri.altman@wdc.com, Keoseong Park <keosung.park@samsung.com>,
	jejb@linux.ibm.com, ALIM AKHTAR <alim.akhtar@samsung.com>
Cc: "Martin K . Petersen" <martin.petersen@oracle.com>
Subject: Re: [PATCH v2] scsi: ufs: ufshpb: Fix possible memory leak
Date: Fri, 27 Aug 2021 22:32:07 -0400	[thread overview]
Message-ID: <163011776501.12104.14931866773646198562.b4-ty@oracle.com> (raw)
In-Reply-To: <1891546521.01629711601304.JavaMail.epsvc@epcpadp3>

On Mon, 23 Aug 2021 18:07:14 +0900, Keoseong Park wrote:

> When HPB pinned region exists and mctx allocation for this region fails,
> memory leak is possible because memory is not released for the subregion
> table of the current region.
> 
> So, change to free memory for the subregion table of the current region.
> 
> 
> [...]

Applied to 5.15/scsi-queue, thanks!

[1/1] scsi: ufs: ufshpb: Fix possible memory leak
      https://git.kernel.org/mkp/scsi/c/6c9783e6296e

-- 
Martin K. Petersen	Oracle Linux Engineering

      parent reply	other threads:[~2021-08-28  2:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20210823090714epcms2p1e414fdd91582bdbf8170b4cefb8a0f74@epcms2p1>
2021-08-23  9:07 ` Keoseong Park
2021-08-23 16:19   ` Bart Van Assche
2021-08-24  3:22   ` Martin K. Petersen
2021-08-28  2:32   ` Martin K. Petersen [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=163011776501.12104.14931866773646198562.b4-ty@oracle.com \
    --to=martin.petersen@oracle.com \
    --cc=alim.akhtar@samsung.com \
    --cc=avri.altman@wdc.com \
    --cc=beanhuo@micron.com \
    --cc=cang@codeaurora.org \
    --cc=daejun7.park@samsung.com \
    --cc=jejb@linux.ibm.com \
    --cc=keosung.park@samsung.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --subject='Re: [PATCH v2] scsi: ufs: ufshpb: Fix possible memory leak' \
    /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

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).