> Now that we have everything in a C file, we can store the information
> about our sleep, and have a native mechanism to wake up the sleeping
> core. This mechanism would however only wake up a core that's sleeping
> while monitoring - waking up from `rte_power_pause` won't work.
> 
> Signed-off-by: Anatoly Burakov <anatoly.bura...@intel.com>
> ---
> 
> Notes:
>     v16:
>     - Improve error handling
>     - Take a lock before UMONITOR
> 
>     v13:
>     - Add comments around wakeup code to explain what it does
>     - Add lcore_id parameter checking to prevent buffer overrun
> 
>  lib/librte_eal/arm/rte_power_intrinsics.c     |  9 ++
>  .../include/generic/rte_power_intrinsics.h    | 16 +++
>  lib/librte_eal/ppc/rte_power_intrinsics.c     |  9 ++
>  lib/librte_eal/version.map                    |  1 +
>  lib/librte_eal/x86/rte_power_intrinsics.c     | 98 ++++++++++++++++++-
>  5 files changed, 132 insertions(+), 1 deletion(-)
> 
> --

Acked-by: Konstantin Ananyev <konstantin.anan...@intel.com>
> 2.25.1

Reply via email to