From: Andrew Morton <akpm@linux-foundation.org>
To: Dave Airlie <airlied@gmail.com>
Cc: dri-devel@lists.freedesktop.org, Dave Airlie <airlied@redhat.com>,
Christian Koenig <christian.koenig@amd.com>,
Matthew Brost <matthew.brost@intel.com>,
Johannes Weiner <hannes@cmpxchg.org>,
linux-mm@kvack.org
Subject: Re: [PATCH 1/2] mm: add gpu active/reclaim per-node stat counters (v2)
Date: Thu, 19 Jun 2025 15:37:44 -0700 [thread overview]
Message-ID: <20250619153744.eb9ee6202a7bccf3ae021443@linux-foundation.org> (raw)
In-Reply-To: <20250619072026.635133-1-airlied@gmail.com>
On Thu, 19 Jun 2025 17:20:25 +1000 Dave Airlie <airlied@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@linux-foundation.org>
next prev parent reply other threads:[~2025-06-19 22:37 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-19 7:20 [PATCH 1/2] mm: add gpu active/reclaim per-node stat counters (v2) Dave Airlie
2025-06-19 7:20 ` [PATCH 2/2] drm/ttm: use gpu mm stats to track gpu memory allocations Dave Airlie
2025-06-19 22:37 ` Andrew Morton [this message]
2025-06-20 17:57 ` [PATCH 1/2] mm: add gpu active/reclaim per-node stat counters (v2) Zi Yan
2025-06-20 18:51 ` Shakeel Butt
2025-06-23 8:54 ` Christian König
2025-06-24 1:12 ` David Airlie
2025-06-25 11:55 ` Christian König
2025-06-25 19:16 ` David Airlie
2025-06-26 9:00 ` Christian König
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250619153744.eb9ee6202a7bccf3ae021443@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=airlied@gmail.com \
--cc=airlied@redhat.com \
--cc=christian.koenig@amd.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=hannes@cmpxchg.org \
--cc=linux-mm@kvack.org \
--cc=matthew.brost@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).