]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ttm/pool: port to list_lru. (v2)
authorDave Airlie <airlied@redhat.com>
Tue, 24 Feb 2026 02:06:20 +0000 (12:06 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 7 Apr 2026 20:52:47 +0000 (06:52 +1000)
commit444e2a19d7fd1f08044a68fbd8b37721c6531565
treef898e2e1c71b0265a52ede342e358f8f67d2d4a3
parentae80122f3896c88884841520c983a6e8551da448
ttm/pool: port to list_lru. (v2)

This is an initial port of the TTM pools for
write combined and uncached pages to use the list_lru.

This makes the pool's more NUMA aware and avoids
needing separate NUMA pools (later commit enables this).

Cc: Christian Koenig <christian.koenig@amd.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Dave Chinner <david@fromorbit.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/ttm/tests/ttm_device_test.c
drivers/gpu/drm/ttm/tests/ttm_pool_test.c
drivers/gpu/drm/ttm/ttm_pool.c
include/drm/ttm/ttm_pool.h
mm/list_lru.c