diff mbox series

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

Message ID 20231127224650.2636224-1-nphamcs@gmail.com (mailing list archive)
State New
Headers show
Series [v6,1/6] list_lru: allows explicit memcg and NUMA node selection (fix) | expand

Commit Message

Nhat Pham Nov. 27, 2023, 10:46 p.m. UTC
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(-)

Comments

Nhat Pham Nov. 27, 2023, 11:40 p.m. UTC | #1
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
diff mbox series

Patch

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);