[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <169087904450.1290857.11726985177314533259.b4-ty@kernel.org>
Date: Tue, 1 Aug 2023 21:41:47 +0100
From: Will Deacon <will@...nel.org>
To: Dawei Li <set_pte_at@...look.com>, joro@...tes.org,
robin.murphy@....com
Cc: catalin.marinas@....com, kernel-team@...roid.com,
Will Deacon <will@...nel.org>,
linux-arm-kernel@...ts.infradead.org, iommu@...ts.linux.dev,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] iommu/arm-smmu-v3: Change vmid alloc strategy from bitmap to ida
On Sun, 16 Jul 2023 00:16:21 +0800, Dawei Li wrote:
> For current implementation of vmid allocation of arm smmu-v3, a per-smmu
> devide bitmap of 64K bits(8K bytes) is allocated on behalf of possible VMID
> range, which is two pages for some architectures. Besides that, its memory
> consumption is 'static', despite of how many VMIDs are allocated actually.
>
> That's memory inefficient and lack of scalability.
>
> [...]
Applied to will (for-joerg/arm-smmu/updates), thanks!
[1/1] iommu/arm-smmu-v3: Change vmid alloc strategy from bitmap to ida
https://git.kernel.org/will/c/1672730cffaf
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
Powered by blists - more mailing lists