lkml.org 
[lkml]   [1998]   [Dec]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectschedule_timeout: wrong timeout value bff066cc from c012c4f0
As the subject says, I have code that will consistently generate
kernel messages similar to:

schedule_timeout: wrong timeout value bff066cc from c012c4f0

c012c4f0 is within do_select:

c012c2a0 t max_select_fd
c012c344 T do_select
c012c540 T sys_select

The code is buggy, strace says that it is doing:

select(1024, [4 5], [], [], {3382276452, 0}) = 0 (Timeout)

due to this bit of code, where last_update == 0:

tv.tv_sec = UPDATE_INTERVAL - (time(NULL) - last_update);
tv.tv_usec = 0;

n = select(FD_SETSIZE, &in, &out, &exc, &tv);

Cosmetic, but worrying when you first see it (and probably a good way to
fill up logs..). This is under 2.1.129ac3.

(please cc: replies, I'm not subscribed)

-O


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:45    [W:0.105 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site