[PATCH v6 1/6] list_lru: allows explicit memcg and NUMA node selection (fix)

From: Nhat Pham
Date: Mon Nov 27 2023 - 17:46:57 EST


The original patch missed a list_lru_del() -> list_lru_del_obj()
conversion. This patch fixed that.

Signed-off-by: Nhat Pham <nphamcs@xxxxxxxxx>
---
drivers/android/binder_alloc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/android/binder_alloc.c b/drivers/android/binder_alloc.c
index e80669d4e037..f69d30c9f50f 100644
--- a/drivers/android/binder_alloc.c
+++ b/drivers/android/binder_alloc.c
@@ -234,7 +234,7 @@ static int binder_update_page_range(struct binder_alloc *alloc, int allocate,
if (page->page_ptr) {
trace_binder_alloc_lru_start(alloc, index);

- on_lru = list_lru_del(&binder_alloc_lru, &page->lru);
+ on_lru = list_lru_del_obj(&binder_alloc_lru, &page->lru);
WARN_ON(!on_lru);

trace_binder_alloc_lru_end(alloc, index);
--
2.34.1