https://github.com/torvalds/linux
Revision 8ced5f69e4bc09adcc6442e090e2e64c197246cf authored by Ingo Molnar on 07 December 2007, 18:02:47 UTC, committed by Ingo Molnar on 07 December 2007, 18:02:47 UTC
some platforms have sched_clock() implementations that cannot be called
very early during wakeup. If it's called it might hang or crash in hard
to debug ways. So only call update_rq_clock() [which calls sched_clock()]
if sched_init() has already been called. (rq->idle is NULL before the
scheduler is initialized.)

Signed-off-by: Ingo Molnar <mingo@elte.hu>
1 parent 5f9fa8a
History
Tip revision: 8ced5f69e4bc09adcc6442e090e2e64c197246cf authored by Ingo Molnar on 07 December 2007, 18:02:47 UTC
sched: enable early use of sched_clock()
Tip revision: 8ced5f6
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
usr
.gitignore -rw-r--r-- 628 bytes
.mailmap -rw-r--r-- 3.6 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 90.1 KB
Kbuild -rw-r--r-- 1.6 KB
MAINTAINERS -rw-r--r-- 91.6 KB
Makefile -rw-r--r-- 52.0 KB
README -rw-r--r-- 16.5 KB
REPORTING-BUGS -rw-r--r-- 3.0 KB

README

back to top