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

Nhat Pham
2023-11-27T23:41:09Z

Actually, please ignore this fixlet. I will send a v7 instead to
prevent further confusion.

On Mon, Nov 27, 2023 at 2:46 PM Nhat Pham <nphamcs@gmail.com> wrote:
>
> The original patch missed a list_lru_del() -> list_lru_del_obj()
> conversion. This patch fixed that.
>
> Signed-off-by: Nhat Pham <nphamcs@gmail.com>
> ---
> 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