]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ttm/pool: track allocated_pages per numa node.
authorDave Airlie <airlied@redhat.com>
Tue, 24 Feb 2026 02:06:23 +0000 (12:06 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 7 Apr 2026 20:52:48 +0000 (06:52 +1000)
commit4516432284e1b2ad9e70de8067f779c9c1072189
treec0aa8cda8ce6571d0b2192d9abf8007ffc2d2aa7
parent0180d6ff34e6460b79c75fc62d1915d115a84597
ttm/pool: track allocated_pages per numa node.

This gets the memory sizes from the nodes and stores the limit
as 50% of those. I think eventually we should drop the limits
once we have memcg aware shrinking, but this should be more NUMA
friendly, and I think seems like what people would prefer to
happen on NUMA aware systems.

Cc: Christian Koenig <christian.koenig@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/ttm/ttm_pool.c