Please sign in to comment.
init: skip calibration delay if previously done
For each CPU, do the calibration delay only once. For subsequent calls, use the cached per-CPU value of loops_per_jiffy. This saves about 200ms of resume time on dual core Intel Atom N5xx based systems. This helps bring down the kernel resume time on such systems from about 500ms to about 300ms. [firstname.lastname@example.org: make cpu_loops_per_jiffy static] [email@example.com: clean up message text] [firstname.lastname@example.org: fix things up after upstream rmk changes] Signed-off-by: Sameer Nanda <email@example.com> Cc: Phil Carmody <firstname.lastname@example.org> Cc: Andrew Worsley <email@example.com> Cc: David Daney <firstname.lastname@example.org> Signed-off-by: Andrew Morton <email@example.com> Signed-off-by: Linus Torvalds <firstname.lastname@example.org>
- Loading branch information...