summaryrefslogtreecommitdiffstats
path: root/drivers/input/serio/i8042-x86ia64io.h
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2013-10-31 08:25:34 +0100
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2013-10-31 16:45:42 +0100
commit92eb77d0ffbaa71b501a0a8dabf09a351bf4267f (patch)
tree88ce9406ab92dc2c33d42baf9292dd616874a2ea /drivers/input/serio/i8042-x86ia64io.h
parentInput: cypress_ps2 - do not consider data bad if palm is detected (diff)
downloadlinux-92eb77d0ffbaa71b501a0a8dabf09a351bf4267f.tar.xz
linux-92eb77d0ffbaa71b501a0a8dabf09a351bf4267f.zip
Input: evdev - fall back to vmalloc for client event buffer
evdev always tries to allocate the event buffer for clients using kzalloc rather than vmalloc, presumably to avoid mapping overhead where possible. However, drivers like bcm5974, which claims support for reporting 16 fingers simultaneously, can have an extraordinarily large buffer. The resultant contiguous order-4 allocation attempt fails due to fragmentation, and the device is thus unusable until reboot. Try kzalloc if we can to avoid the mapping overhead, but if that fails, fall back to vzalloc. Signed-off-by: Daniel Stone <daniels@collabora.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/serio/i8042-x86ia64io.h')
0 files changed, 0 insertions, 0 deletions