From: Henrik Rydberg Date: Sat, 15 Sep 2012 13:23:35 +0000 (+0200) Subject: Input: Send events one packet at a time X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~104^2~3^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4369c64c79a22b98d3b7eff9d089196cd878a10a;p=pandora-kernel.git Input: Send events one packet at a time On heavy event loads, such as a multitouch driver, the irqsoff latency can be as high as 250 us. By accumulating a frame worth of data before passing it on, the latency can be dramatically reduced. As a side effect, the special EV_SYN handling can be removed, since the frame is now atomic. This patch adds the events() handler callback and uses it if it exists. The latency is improved by 50 us even without the callback. Cc: Daniel Kurtz Tested-by: Benjamin Tissoires Tested-by: Ping Cheng Tested-by: Sedat Dilek Acked-by: Dmitry Torokhov Signed-off-by: Henrik Rydberg --- Reading git-diff-tree failed