[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20221030080540.GH4214@lst.de>
Date: Sun, 30 Oct 2022 09:05:40 +0100
From: Christoph Hellwig <hch@....de>
To: Alexey Kardashevskiy <aik@....com>
Cc: kvm@...r.kernel.org, linux-kernel@...r.kernel.org,
iommu@...ts.linux.dev, Ashish Kalra <ashish.kalra@....com>,
Pankaj Gupta <pankaj.gupta@....com>,
Tom Lendacky <thomas.lendacky@....com>,
Robin Murphy <robin.murphy@....com>,
Marek Szyprowski <m.szyprowski@...sung.com>,
Christoph Hellwig <hch@....de>
Subject: Re: [PATCH kernel] x86/swiotlb/amd: Half the size if allocation
failed
The subject looks wrong - this just touches the swiotlb code, and
nothing x86 or AMD specific.
The code flow now looks a little confusing. Can yu just add a little
swiotlb_memblock_alloc helper that does the two variants of memblock
allocation and remap, so that we can keep a simply
loop around them in the caller?
Powered by blists - more mailing lists