summaryrefslogtreecommitdiffstats
path: root/ipc/namespace.c
diff options
context:
space:
mode:
authorChuansheng Liu <chuansheng.liu@intel.com>2012-11-27 01:29:54 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2012-11-27 02:41:24 +0100
commit8ffeb9b0e6369135bf03a073514f571ef10606b9 (patch)
tree53376636381d6a01afae72ed8541266f60a7afae /ipc/namespace.c
parentwriteback: put unused inodes to LRU after writeback completion (diff)
downloadlinux-8ffeb9b0e6369135bf03a073514f571ef10606b9.tar.xz
linux-8ffeb9b0e6369135bf03a073514f571ef10606b9.zip
watchdog: using u64 in get_sample_period()
In get_sample_period(), unsigned long is not enough: watchdog_thresh * 2 * (NSEC_PER_SEC / 5) case1: watchdog_thresh is 10 by default, the sample value will be: 0xEE6B2800 case2: set watchdog_thresh is 20, the sample value will be: 0x1 DCD6 5000 In case2, we need use u64 to express the sample period. Otherwise, changing the threshold thru proc often can not be successful. Signed-off-by: liu chuansheng <chuansheng.liu@intel.com> Acked-by: Don Zickus <dzickus@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'ipc/namespace.c')
0 files changed, 0 insertions, 0 deletions