Revision 168ffc444663e34a20e6d04b6c31e5d495b283fb authored by Marko Macek on 30 July 2006, 08:55:12 UTC, committed by Greg Kroah-Hartman on 02 August 2006, 23:41:42 UTC
When HZ is set to 250 (new default) or 100, the time span during which
repeated events from the device are ignored could be too small due to
ms->jiffies rounding.  This causes the auto repeat to kick in early making
it impossible for the user to generate individual press/release events. 
Increate the timeout to compensate.

Signed-off-by: Marko Macek <Marko.Macek@gmx.net>
Cc: Dmitry Torokhov <dtor_core@ameritech.net>
Cc: Vojtech Pavlik <vojtech@suse.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

1 parent 064e875
History
File Mode Size
Kconfig -rw-r--r-- 4.9 KB
Makefile -rw-r--r-- 851 bytes
bootmem.c -rw-r--r-- 11.9 KB
fadvise.c -rw-r--r-- 2.6 KB
filemap.c -rw-r--r-- 63.3 KB
filemap.h -rw-r--r-- 2.8 KB
filemap_xip.c -rw-r--r-- 10.3 KB
fremap.c -rw-r--r-- 6.1 KB
highmem.c -rw-r--r-- 13.7 KB
hugetlb.c -rw-r--r-- 18.3 KB
internal.h -rw-r--r-- 1.0 KB
madvise.c -rw-r--r-- 8.6 KB
memory.c -rw-r--r-- 66.7 KB
memory_hotplug.c -rw-r--r-- 6.8 KB
mempolicy.c -rw-r--r-- 46.6 KB
mempool.c -rw-r--r-- 8.9 KB
migrate.c -rw-r--r-- 21.2 KB
mincore.c -rw-r--r-- 4.4 KB
mlock.c -rw-r--r-- 5.3 KB
mmap.c -rw-r--r-- 53.9 KB
mmzone.c -rw-r--r-- 925 bytes
mprotect.c -rw-r--r-- 7.2 KB
mremap.c -rw-r--r-- 10.7 KB
msync.c -rw-r--r-- 5.6 KB
nommu.c -rw-r--r-- 28.0 KB
oom_kill.c -rw-r--r-- 9.8 KB
page-writeback.c -rw-r--r-- 22.9 KB
page_alloc.c -rw-r--r-- 62.6 KB
page_io.c -rw-r--r-- 3.6 KB
pdflush.c -rw-r--r-- 6.3 KB
prio_tree.c -rw-r--r-- 6.3 KB
readahead.c -rw-r--r-- 16.9 KB
rmap.c -rw-r--r-- 23.2 KB
shmem.c -rw-r--r-- 58.4 KB
slab.c -rw-r--r-- 107.6 KB
slob.c -rw-r--r-- 8.8 KB
sparse.c -rw-r--r-- 7.2 KB
swap.c -rw-r--r-- 11.9 KB
swap_state.c -rw-r--r-- 9.3 KB
swapfile.c -rw-r--r-- 43.0 KB
thrash.c -rw-r--r-- 2.7 KB
tiny-shmem.c -rw-r--r-- 3.2 KB
truncate.c -rw-r--r-- 9.7 KB
util.c -rw-r--r-- 1.4 KB
vmalloc.c -rw-r--r-- 17.0 KB
vmscan.c -rw-r--r-- 43.6 KB
vmstat.c -rw-r--r-- 13.2 KB

back to top