[PATCH v3 00/10] IOMMU memory observability

Michal Koutný mkoutny at suse.com
Fri Jan 5 01:02:17 PST 2024


On Thu, Jan 04, 2024 at 02:12:26PM -0500, Pasha Tatashin <pasha.tatashin at soleen.com> wrote:
> Yes, we will have a difference between GFP_ACCOUNT and what
> NR_IOMMU_PAGES shows. GFP_ACCOUNT is set only where it makes sense to
> charge to user processes, i.e. IOMMU Page Tables, but there more IOMMU
> shared data that should not really be charged to a specific process.

I see. I'd suggest adding this explanation to commit 10/10 message
(perhaps with some ballpark numbers of pages). In order to have a
reference and understadning if someone decided to charge (and limit) all
in the future.

Thanks,
Michal
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-rockchip/attachments/20240105/39f5f62b/attachment.sig>


More information about the Linux-rockchip mailing list