[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
maybe a bug in spinlock
- Date: Thu, 24 May 2007 01:36:21 +0800
- From: chyyuu at gmail.com (Yu Chen)
- Subject: maybe a bug in spinlock
hi, Joel
my student and I consider
line 75 in corespinlockwait.c
if ( timeout && (limit >= _Watchdog_Ticks_since_boot)) {
should be
if ( timeout && (limit < _Watchdog_Ticks_since_boot)) {
How do you think of it?
--
Best Regards
==============================================
Chen Yu
Laboratory of Pervasive Computing,
Dept. of Computer Science and Technology
Tsinghua University, Beijing 100084, P.R. China
Tel: +86 10 6278 4141 ext. 801 (Office)
E-Mail: mailto:yuchen at tsinghua.edu.cn
Web-page: http://media.cs.tsinghua.edu.cn/cn/cheny
==============================================