git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bf0a8f
)
watchdog: store the watchdog sample period as a variable
author
Chuansheng Liu
<chuansheng.liu@intel.com>
Mon, 17 Dec 2012 23:59:50 +0000
(15:59 -0800)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Tue, 18 Dec 2012 01:15:13 +0000
(17:15 -0800)
Currently getting the sample period is always thru a complex
calculation: get_softlockup_thresh() * ((u64)NSEC_PER_SEC / 5).
We can store the sample period as a variable, and set it as __read_mostly
type.
Signed-off-by: liu chuansheng <chuansheng.liu@intel.com>
Cc: Don Zickus <dzickus@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/watchdog.c
patch
|
blob
|
history
diff --cc
kernel/watchdog.c
Simple merge