svn commit: r195960 - in head/sys/dev/usb: . controller input

Robert Watson rwatson at
Sat Aug 1 22:15:10 UTC 2009

On Sat, 1 Aug 2009, Hans Petter Selasky wrote:

>>> This has slowed down core dumps very significantly.  What used to take 
>>> 10-15s on my system now takes around 3 minutes.  A simple test is to break 
>>> into ddb and "call doadump" with or without this rev.  I have a serial 
>>> console on this machine and so I can use ddb whether the attached USB 
>>> keyboard works or not.
> It's because there is a DELAY(1000) in the UKBD's polling routine so that 
> key- repeating will work, no magic.

Given a choice between dumping 10x faster and having automatic key repeat in 
DDB, I'd lean towards the former.  :-)

Robert N M Watson
Computer Laboratory
University of Cambridge

More information about the svn-src-all mailing list