mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-20 13:41:30 +00:00
sched: Make task->real_start_time nanoseconds based
Simplify the only user of this data by removing the timespec conversion. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: John Stultz <john.stultz@linaro.org>
This commit is contained in:
parent
d560fed6ab
commit
57e0be041d
3 changed files with 3 additions and 9 deletions
|
@ -1263,8 +1263,7 @@ static struct task_struct *copy_process(unsigned long clone_flags,
|
|||
posix_cpu_timers_init(p);
|
||||
|
||||
ktime_get_ts(&p->start_time);
|
||||
p->real_start_time = p->start_time;
|
||||
monotonic_to_bootbased(&p->real_start_time);
|
||||
p->real_start_time = ktime_get_boot_ns();
|
||||
p->io_context = NULL;
|
||||
p->audit_context = NULL;
|
||||
if (clone_flags & CLONE_THREAD)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue