Re: [tip:sched/core] sched: Lower chances of cputime scaling overflow

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Frederic Weisbecker <fweisbec@xxxxxxxxx> wrote:

> Of course 128 bits ops are very expensive, so to help you evaluating the 
> situation, this is going to happen on every call to task_cputime_adjusted() and 
> thread_group_adjusted(), namely:

It's really only expensive for divisions. Addition and multiplication should be 
straightforward and relatively low overhead, especially on 64-bit platforms.

Thanks,

	Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Stable Commits]     [Linux Stable Kernel]     [Linux Kernel]     [Linux USB Devel]     [Linux Video &Media]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux