Re: [PATCH v2 2/5] sched/vtime: get rid of generic vtime_task_switch() implementation

2024-02-08 Thread Nicholas Piggin
On Fri Feb 9, 2024 at 6:15 AM AEST, Alexander Gordeev wrote: > The generic vtime_task_switch() implementation gets built only > if __ARCH_HAS_VTIME_TASK_SWITCH is not defined, but requires an > architecture to implement arch_vtime_task_switch() callback at > the same time, which is confusing. > > F

[PATCH v2 2/5] sched/vtime: get rid of generic vtime_task_switch() implementation

2024-02-08 Thread Alexander Gordeev
The generic vtime_task_switch() implementation gets built only if __ARCH_HAS_VTIME_TASK_SWITCH is not defined, but requires an architecture to implement arch_vtime_task_switch() callback at the same time, which is confusing. Further, arch_vtime_task_switch() is implemented for 32-bit PowerPC archi