-
-
Notifications
You must be signed in to change notification settings - Fork 143
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
实现gettimeofday()系统调用和clocksource+timekeeping子模块 #278
Conversation
houmkh
commented
Jun 7, 2023
•
edited
Loading
edited
- 实现gettimeofday()系统调用
- 实现clocksource+timekeeping子模块部分功能
- 实现了timespec转换成日期时间
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
有几个地方需要更改的,已经在评审注释里面写了。
然后就是,目前存在很多warning的地方,需要改一下。
还有就是,有些地方的kdebug需要删除或者注释掉他们
} | ||
|
||
/// # watchdog线程的逻辑,执行unstable的后续操作 | ||
pub fn clocksource_watchdog_kthread() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clocksource_watchdog_kthread这个函数有问题,因为如果它是内核线程的话,应该要套一个loop{},不然它执行一次就退出了