mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-05 15:45:05 +00:00
hv: remove kick_thread from scheduler module
kick_thread function is only used by kick_vcpu to kick vcpu out of non-root mode, the implementation in it is sending IPI to target CPU if target obj is running and target PCPU is not current one; while for runnable obj, it will just make reschedule request. So the kick_thread is not actually belong to scheduler module, we can drop it and just do the cpu notification in kick_vcpu. Tracked-On: #5057 Signed-off-by: Conghui Chen <conghui.chen@intel.com> Reviewed-by: Shuo A Liu <shuo.a.liu@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -116,7 +116,6 @@ void run_thread(struct thread_object *obj);
|
||||
void sleep_thread(struct thread_object *obj);
|
||||
void sleep_thread_sync(struct thread_object *obj);
|
||||
void wake_thread(struct thread_object *obj);
|
||||
void kick_thread(const struct thread_object *obj);
|
||||
void yield_current(void);
|
||||
void schedule(void);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user