On Fri, Oct 21, 2022 at 1:36 PM Van Haaren, Harry
wrote:
> >
> > Assume thread T2 is a service lcore that is in the middle of executing
> > a service function. Also, assume thread T1 concurrently calls
> > rte_service_lcore_stop(), which will set the "service_active_on_lcore"
> > state to false.
> -Original Message-
> From: Carrillo, Erik G
> Sent: Thursday, October 20, 2022 8:01 PM
> To: Van Haaren, Harry
> Cc: Naga Harish K, S V ; dev@dpdk.org;
> sta...@dpdk.org
> Subject: [PATCH] service: fix early move to inactive status
>
> Assume thread T2 is
Assume thread T2 is a service lcore that is in the middle of executing
a service function. Also, assume thread T1 concurrently calls
rte_service_lcore_stop(), which will set the "service_active_on_lcore"
state to false. If thread T1 then calls rte_service_may_be_active(),
it can return zero even
3 matches
Mail list logo