maybe a bug in spinlock

Yu Chen chyyuu at gmail.com
Wed May 23 17:36:21 UTC 2007


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
==============================================



More information about the users mailing list