[PATCH v3 00/10] IOMMU memory observability
Pasha Tatashin
pasha.tatashin at soleen.com
Thu Jan 4 08:29:43 PST 2024
On Thu, Jan 4, 2024 at 10:31 AM Michal Koutný <mkoutny at suse.com> wrote:
>
> Hello.
>
> On Tue, Dec 26, 2023 at 08:01:55PM +0000, Pasha Tatashin <pasha.tatashin at soleen.com> wrote:
> > This patch series solves this problem by adding both observability to
> > all pages that are allocated by IOMMU, and also accountability, so
> > admins can limit the amount if via cgroups.
>
> Maybe this is a mismatch in vocabulary what you mean by the verb
> "limit". But I don't see in the patchset that the offending pages would
> be allocated with GFP_ACCOUNT. So the result is that the pages are
> accounted (you can view the amount in memory.stat) but they are not
> subject to memcg limits.
>
> Is that what you intend?
Hi Michal,
Thank you for taking a look at this. The two patches [1] [2] which add
GFP_KERNEL_ACCOUNT were sent separate from this series at request of
reviewers:
Pasha
[1] https://lore.kernel.org/linux-mm/20231226182827.294158-1-pasha.tatashin@soleen.com
[2] https://lore.kernel.org/linux-mm/20231130200900.2320829-1-pasha.tatashin@soleen.com
>
>
> Regards,
> Michal
More information about the Linux-rockchip
mailing list