Re: [PATCH v2 0/2] rename var for slice refill event and add helper
From: Andrea Righi
Date: Fri Apr 18 2025 - 01:53:45 EST
On Fri, Apr 18, 2025 at 11:26:01AM +0800, Honglei Wang wrote:
> SCX_EV_ENQ_SLICE_DFL gives the impression that the event only occurs
> when the tasks were enqueued, which seems not accurate. So rename the
> variable to SCX_EV_REFILL_SLICE_DFL.
>
> The slice refilling with default slice always come with event
> statistics together, add a helper routine to make it cleaner.
>
> Changes in v2:
> Refine the comments base on Andrea's suggestion.
Looks good, thanks!
Acked-by: Andrea Righi <arighi@xxxxxxxxxx>
-Andrea