Messages in this thread | | | Date | Mon, 9 Oct 2023 14:48:28 +0200 | From | Ingo Molnar <> | Subject | Re: [PATCH linux-next 1/3] sched/psi: Change update_triggers() to a void function |
| |
* yang.yang29@zte.com.cn <yang.yang29@zte.com.cn> wrote:
> From: Yang Yang <yang.yang29@zte.com.cn> > > Update_triggers() always return now + group->rtpoll_min_period, and the > return value is only used by psi_rtpoll_work(), so change update_triggers() > to a void function, let group->rtpoll_next_update = now + > group->rtpoll_min_period directly. > This will avoid unnecessary function return value passing. > > Signed-off-by: Yang Yang <yang.yang29@zte.com.cn> > Suggested-by: Suren Baghdasaryan <surenb@google.com> > Suggested-by: Ingo Molnar <mingo@kernel.org>
Thanks for the split-up!
I'll remove the Suggested-by tags you added for me: I didn't suggest the changes themselves, only the split-up, which isn't credit-worthy :-)
Thanks,
Ingo
| |