[PATCH 1/2] mm: add gpu active/reclaim per-node stat counters (v2)
Andrew Morton
akpm at linux-foundation.org
Thu Jun 19 22:37:44 UTC 2025
On Thu, 19 Jun 2025 17:20:25 +1000 Dave Airlie <airlied at gmail.com> wrote:
>
> While discussing memcg intergration with gpu memory allocations,
> it was pointed out that there was no numa/system counters for
> GPU memory allocations.
>
> With more integrated memory GPU server systems turning up, and
> more requirements for memory tracking it seems we should start
> closing the gap.
>
> Add two counters to track GPU per-node system memory allocations.
>
> The first is currently allocated to GPU objects, and the second
> is for memory that is stored in GPU page pools that can be reclaimed,
> by the shrinker.
>
Acked-by: Andrew Morton <akpm at linux-foundation.org>
More information about the dri-devel
mailing list