On Fri, Jan 5, 2024 at 4:02 AM Michal Koutný <mkoutny@xxxxxxxx> wrote: > > On Thu, Jan 04, 2024 at 02:12:26PM -0500, Pasha Tatashin <pasha.tatashin@xxxxxxxxxx> 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. Sure, I will update the commit log in 10/10 with this info if we will have v4. Pasha > > Thanks, > Michal