On Wed, May 19, 2010 at 07:22:37PM +0200, Daniel Mack wrote:
This causes us to allocate every absinfo structure separately and use
64 additional pointers (256 bytes on 32 bit boxes and even more on 64 bit
boxes). If device uses enough axis we end up eating up most savings.
I think we should simply alloctate ABS_CNT worth of absinfo first time
we try to set up abs parameters and be done with it so we'll be saving
space for devices not reporting absolute events.
Another optionw woudl be to allow drivers specify size of absinfo array
but I am not sure if it worth it.
Thanks.
--
Dmitry
--