From: Keith Busch <kbusch@kernel.org>
To: francis.p@samsung.com
Cc: axboe@fb.com, hch@lst.de, sagi@grimberg.me,
linux-nvme@lists.infradead.org, anshul@samsung.com,
jg123.choi@samsung.com, prakash.bv@samsung.com,
d.palani@samsung.com, sathya.m@samsung.com
Subject: Re: [PATCH] nvme-pci: remove redundant dma frees in hmb
Date: Fri, 17 Jan 2025 12:22:56 -0700 [thread overview]
Message-ID: <Z4quEDL5kKfEMDA-@kbusch-mbp> (raw)
In-Reply-To: <20250116234209.51347-1-francis.p@samsung.com>
On Fri, Jan 17, 2025 at 05:12:09AM +0530, francis.p@samsung.com wrote:
> From: Francis Pravin <francis.p@samsung.com>
>
> The value of size is 0 when there is no dma buffer allocated. The value
> of i also remains 0. So, no need to free the dma buffer in out_free_bufs.
> Hence, remove the redundant dma frees.
THanks, applied to nvme-6.14.
prev parent reply other threads:[~2025-01-17 19:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20250117050925epcas5p1ef46267e6d7dc83ea9d0aa51af934921@epcas5p1.samsung.com>
2025-01-16 23:42 ` [PATCH] nvme-pci: remove redundant dma frees in hmb francis.p
2025-01-17 7:54 ` Christoph Hellwig
2025-01-17 19:22 ` Keith Busch [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=Z4quEDL5kKfEMDA-@kbusch-mbp \
--to=kbusch@kernel.org \
--cc=anshul@samsung.com \
--cc=axboe@fb.com \
--cc=d.palani@samsung.com \
--cc=francis.p@samsung.com \
--cc=hch@lst.de \
--cc=jg123.choi@samsung.com \
--cc=linux-nvme@lists.infradead.org \
--cc=prakash.bv@samsung.com \
--cc=sagi@grimberg.me \
--cc=sathya.m@samsung.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