-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A test got slower after api_vcpu_prepare_run
was ported
#10
Comments
일단 여기에 그 PR을 반영해 보았는데 |
이 테스트는 그 PR이 생성될 당시에는 테스트되지 않았습니다. 근데 이 테스트가 만들어진 시기가 PR이 만들어진 시기보다 이른데 어떻게 된 건지 모르겠네요. |
디버깅 결과, target_vcpu = vcpu_lock(vm_get_vcpu(vm, target_vcpu_index));
*ret = vcpu_is_off(target_vcpu) ? PSCI_RETURN_OFF
: PSCI_RETURN_ON;
vcpu_unlock(&target_vcpu);
break; 여기서 어떻게 바꿀지는 좀 더 내용을 읽어보고 하겠습니다... |
이 코드는 타겟 |
고칠 때 방법은, lock이 걸려 있으면 running이다, 라는 가정을 했는데요, running 이면 lock이 걸려 있지만 lock 이 걸려 있다고 running일까요? 조사해 볼 필요가 있습니다. |
PR #9 이후로
vcpu_state.concurrent_save_restore
라는 테스트 케이스가 실행 시간이 느려져서 timeout 때문에 실패합니다. 원인이api_vcpu_prepare_run
이라는 건 이 함수만 C 코드로 교체했을 때 잘 작동해서 알게 되었습니다.Naive한 계획은:
The text was updated successfully, but these errors were encountered: