summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2026-02-24 12:06:20 +1000
committerDave Airlie <airlied@redhat.com>2026-04-08 06:52:47 +1000
commit444e2a19d7fd1f08044a68fbd8b37721c6531565 (patch)
treef898e2e1c71b0265a52ede342e358f8f67d2d4a3 /mm
parentae80122f3896c88884841520c983a6e8551da448 (diff)
downloadlwn-444e2a19d7fd1f08044a68fbd8b37721c6531565.tar.gz
lwn-444e2a19d7fd1f08044a68fbd8b37721c6531565.zip
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>
Diffstat (limited to 'mm')
-rw-r--r--mm/list_lru.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/list_lru.c b/mm/list_lru.c
index 26463ae29c64..dd29bcf8eb5f 100644
--- a/mm/list_lru.c
+++ b/mm/list_lru.c
@@ -179,6 +179,7 @@ bool list_lru_add(struct list_lru *lru, struct list_head *item, int nid,
unlock_list_lru(l, false);
return false;
}
+EXPORT_SYMBOL_GPL(list_lru_add);
bool list_lru_add_obj(struct list_lru *lru, struct list_head *item)
{