2019-12-19 12:03:48

by Jesper Dangaard Brouer

[permalink] [raw]
Subject: Re: [net-next v4 PATCH] page_pool: handle page recycle for NUMA_NO_NODE condition

On Wed, 18 Dec 2019 14:27:13 +0000
"Li,Rongqing" <[email protected]> wrote:

> seem it can not handle the in-flight pages if remove the check node
> id from pool_page_reusable?

I don't follow.
I do think this patch handle in-flight pages, as they have to travel
back-through the ptr_ring.

--
Best regards,
Jesper Dangaard Brouer
MSc.CS, Principal Kernel Engineer at Red Hat
LinkedIn: http://www.linkedin.com/in/brouer


2019-12-19 12:48:16

by Li RongQing

[permalink] [raw]
Subject: 答复: [net-next v4 PATCH] page_pool: handle p age recycle for NUMA_NO_NODE condition



On Wed, 18 Dec 2019 14:27:13 +0000
"Li,Rongqing" <[email protected]> wrote:

>> seem it can not handle the in-flight pages if remove the check node
>> id from pool_page_reusable?

>I don't follow.
>I do think this patch handle in-flight pages, as they have to travel
>back-through the ptr_ring.


in-flight pages maybe loop between pool-> alloc.cache and in-flight, and did not travel to ptr_ring


-Li