All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 7.2.y] net: dovetail: Restore accidentally lost mp_ops cleanup
@ 2026-11-01 11:39 Jan Kiszka
  2026-11-01 18:02 ` Philippe Gerum
  0 siblings, 1 reply; 4+ messages in thread
From: Jan Kiszka @ 2026-11-01 11:39 UTC (permalink / raw)
  To: Philippe Gerum, Xenomai; +Cc: Florian Bezdeka

From: Jan Kiszka <jan.kiszka@siemens.com>

Fixes: 2db757ed1c20 ("net: dovetail: enable out-of-band networking")
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---

Should go into 7.3 as well.

 net/core/page_pool.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/net/core/page_pool.c b/net/core/page_pool.c
index 13ef7c723a89c..6136471425fe3 100644
--- a/net/core/page_pool.c
+++ b/net/core/page_pool.c
@@ -338,6 +338,11 @@ static void page_pool_uninit(struct page_pool *pool)
 	if (!pool->system)
 		free_percpu(pool->recycle_stats);
 #endif
+
+	if (pool->mp_ops) {
+		pool->mp_ops->destroy(pool);
+		static_branch_dec(&page_pool_mem_providers);
+	}
 #ifdef CONFIG_PAGE_POOL_OOB
 	kfree(pool->alloc.cache);
 #endif
-- 
2.47.3

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 7.2.y] net: dovetail: Restore accidentally lost mp_ops cleanup
  2026-11-01 11:39 [PATCH 7.2.y] net: dovetail: Restore accidentally lost mp_ops cleanup Jan Kiszka
@ 2026-11-01 18:02 ` Philippe Gerum
  2026-11-02 10:48   ` Jan Kiszka
  0 siblings, 1 reply; 4+ messages in thread
From: Philippe Gerum @ 2026-11-01 18:02 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: Xenomai, Florian Bezdeka

Jan Kiszka <jan.kiszka@siemens.com> writes:

> From: Jan Kiszka <jan.kiszka@siemens.com>
>
> Fixes: 2db757ed1c20 ("net: dovetail: enable out-of-band networking")
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
> ---
>
> Should go into 7.3 as well.
>
>  net/core/page_pool.c | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/net/core/page_pool.c b/net/core/page_pool.c
> index 13ef7c723a89c..6136471425fe3 100644
> --- a/net/core/page_pool.c
> +++ b/net/core/page_pool.c
> @@ -338,6 +338,11 @@ static void page_pool_uninit(struct page_pool *pool)
>  	if (!pool->system)
>  		free_percpu(pool->recycle_stats);
>  #endif
> +
> +	if (pool->mp_ops) {
> +		pool->mp_ops->destroy(pool);
> +		static_branch_dec(&page_pool_mem_providers);
> +	}
>  #ifdef CONFIG_PAGE_POOL_OOB
>  	kfree(pool->alloc.cache);
>  #endif

Merged into 7.2, thanks. Noted for 7.3.

-- 
Philippe.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 7.2.y] net: dovetail: Restore accidentally lost mp_ops cleanup
  2026-11-01 18:02 ` Philippe Gerum
@ 2026-11-02 10:48   ` Jan Kiszka
  2026-11-02 14:56     ` Philippe Gerum
  0 siblings, 1 reply; 4+ messages in thread
From: Jan Kiszka @ 2026-11-02 10:48 UTC (permalink / raw)
  To: Philippe Gerum; +Cc: Xenomai, Florian Bezdeka

On 01.11.26 19:02, Philippe Gerum wrote:
> Jan Kiszka <jan.kiszka@siemens.com> writes:
> 
>> From: Jan Kiszka <jan.kiszka@siemens.com>
>>
>> Fixes: 2db757ed1c20 ("net: dovetail: enable out-of-band networking")
>> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
>> ---
>>
>> Should go into 7.3 as well.
>>
>>  net/core/page_pool.c | 5 +++++
>>  1 file changed, 5 insertions(+)
>>
>> diff --git a/net/core/page_pool.c b/net/core/page_pool.c
>> index 13ef7c723a89c..6136471425fe3 100644
>> --- a/net/core/page_pool.c
>> +++ b/net/core/page_pool.c
>> @@ -338,6 +338,11 @@ static void page_pool_uninit(struct page_pool *pool)
>>  	if (!pool->system)
>>  		free_percpu(pool->recycle_stats);
>>  #endif
>> +
>> +	if (pool->mp_ops) {
>> +		pool->mp_ops->destroy(pool);
>> +		static_branch_dec(&page_pool_mem_providers);
>> +	}
>>  #ifdef CONFIG_PAGE_POOL_OOB
>>  	kfree(pool->alloc.cache);
>>  #endif
> 
> Merged into 7.2, thanks. Noted for 7.3.
> 

I think you accidentally pushed the update as "7.2-evl-dovetail" to
linux-dovetail.

Jan

-- 
Siemens AG, Foundational Technologies
Linux Expert Center

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 7.2.y] net: dovetail: Restore accidentally lost mp_ops cleanup
  2026-11-02 10:48   ` Jan Kiszka
@ 2026-11-02 14:56     ` Philippe Gerum
  0 siblings, 0 replies; 4+ messages in thread
From: Philippe Gerum @ 2026-11-02 14:56 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: Xenomai, Florian Bezdeka

Jan Kiszka <jan.kiszka@siemens.com> writes:

> On 01.11.26 19:02, Philippe Gerum wrote:
>> Jan Kiszka <jan.kiszka@siemens.com> writes:
>> 
>>> From: Jan Kiszka <jan.kiszka@siemens.com>
>>>
>>> Fixes: 2db757ed1c20 ("net: dovetail: enable out-of-band networking")
>>> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
>>> ---
>>>
>>> Should go into 7.3 as well.
>>>
>>>  net/core/page_pool.c | 5 +++++
>>>  1 file changed, 5 insertions(+)
>>>
>>> diff --git a/net/core/page_pool.c b/net/core/page_pool.c
>>> index 13ef7c723a89c..6136471425fe3 100644
>>> --- a/net/core/page_pool.c
>>> +++ b/net/core/page_pool.c
>>> @@ -338,6 +338,11 @@ static void page_pool_uninit(struct page_pool *pool)
>>>  	if (!pool->system)
>>>  		free_percpu(pool->recycle_stats);
>>>  #endif
>>> +
>>> +	if (pool->mp_ops) {
>>> +		pool->mp_ops->destroy(pool);
>>> +		static_branch_dec(&page_pool_mem_providers);
>>> +	}
>>>  #ifdef CONFIG_PAGE_POOL_OOB
>>>  	kfree(pool->alloc.cache);
>>>  #endif
>> 
>> Merged into 7.2, thanks. Noted for 7.3.
>> 
>
> I think you accidentally pushed the update as "7.2-evl-dovetail" to
> linux-dovetail.
>

Yep, sorry for that. Fixed now.


-- 
Philippe.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-11-02 14:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-01 11:39 [PATCH 7.2.y] net: dovetail: Restore accidentally lost mp_ops cleanup Jan Kiszka
2026-11-01 18:02 ` Philippe Gerum
2026-11-02 10:48   ` Jan Kiszka
2026-11-02 14:56     ` Philippe Gerum

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.