Messages in this thread | | | Date | Tue, 20 Jul 2021 09:35:31 +0100 | From | Will Deacon <> | Subject | Re: [PATCH 5/5] swiotlb: Free tbl memory in swiotlb_exit() |
| |
On Tue, Jul 20, 2021 at 11:36:19AM +0800, Claire Chang wrote: > On Mon, Jul 19, 2021 at 8:31 PM Will Deacon <will@kernel.org> wrote: > > > > Although swiotlb_exit() frees the 'slots' metadata array referenced by > > 'io_tlb_default_mem', it leaves the underlying buffer pages allocated > > despite no longer being usable. > > > > Extend swiotlb_exit() to free the buffer pages as well as the slots > > array. > > > > Cc: Claire Chang <tientzu@chromium.org> > > Cc: Christoph Hellwig <hch@lst.de> > > Cc: Robin Murphy <robin.murphy@arm.com> > > Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> > > Tested-by: Nathan Chancellor <nathan@kernel.org> > > Tested-by: Claire Chang <tientzu@chromium.org>
Thanks, Claire!
Will
| |