Re: [PATCH 09/30] sched_ext: Implement BPF extensible scheduler class

From: Andrea Righi
Date: Thu Jun 27 2024 - 04:34:12 EST


On Tue, Jun 18, 2024 at 11:17:24AM -1000, Tejun Heo wrote:
...
> + /**
> + * set_weight - Set task weight
> + * @p: task to set weight for
> + * @weight: new eight [1..10000]

Small nit: eight -> weight

> + *
> + * Update @p's weight to @weight.
> + */
> + void (*set_weight)(struct task_struct *p, u32 weight);

-Andrea