[PATCH 1/5] mm/list_lru: export list_lru_add.
Dave Airlie
airlied at gmail.com
Thu Jun 5 06:19:21 UTC 2025
From: Dave Airlie <airlied at redhat.com>
DRM/TTM wants to use this for it's page pool
LRU tracking.
This effective is a revert of
78c0ed09131b772f062b986a2fcca6600daa6285
Author: Kairui Song <kasong at tencent.com>
Date: Tue Nov 5 01:52:53 2024 +0800
mm/list_lru: don't export list_lru_add
Cc: Kairui Song <kasong at tencent.com>
Cc: Johannes Weiner <hannes at cmpxchg.org>
Cc: Shakeel Butt <shakeel.butt at linux.dev>
Signed-off-by: Dave Airlie <airlied at redhat.com>
---
mm/list_lru.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/mm/list_lru.c b/mm/list_lru.c
index 490473af3122..315362e3df3d 100644
--- a/mm/list_lru.c
+++ b/mm/list_lru.c
@@ -175,6 +175,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)
{
--
2.49.0
More information about the dri-devel
mailing list