lkml.org 
[lkml]   [1997]   [Jan]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectsend_data() in keyboard.c (2.0.27)

Hi *,

the smp-kernel has a bug with the keyboard-LEDs (the machine
could freeze, if the keyboard-LEDs are changed).

Now a short question:
The for()-loop (line 1080) in send_data(), drivers/char/keyboard.c runs
0x200000 times if acknowledge or resend isn't set. Why so often?

My machine (2xP100, Triton II) leaves the loop normally between i=950 and
1050 (decimal), so I decided to reduce the value of 0x200000 to 2000!
This works well (for me) and if the smp-error occur, the freeze is
much shorter.

Dirk


PS: Sorry about my english and my stupid questions about the kernel,
but I'm not a kernel-hacker... :-(

;-)

**
****
**
**********
EMail: ******
dirk.staneker@student.uni-tuebingen.de Windows **
**
Homepage: # # # # # * *
http://www.jura.uni-tuebingen.de/staneker/ # # # # * *
# # # * *
### * *

Mach mit!



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