Bug 247 - the loop is broken before update idle when select idle core
Summary: the loop is broken before update idle when select idle core
Status: CONFIRMED
Alias: None
Product: ANCK 4.19 Dev
Classification: ANCK
Component: general/others (show other bugs) general/others
Version: unspecified
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: CruzZhao
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-31 16:21 UTC by CruzZhao
Modified: 2022-03-24 04:28 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description CruzZhao alibaba_cloud_group 2021-12-31 16:21:38 UTC
Description of problem:
If a thread of a core is not idle, skip evaluating other threads of a core. Group identity updates idle by judging whether is_idle is true, but it will be skipped if id_idle_cpu() returns false and the flag idle is still true, which will result in selet_idle_core() returns a busy core.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info: