[PATCH] kill mutex in lis
andy at openmoko.com
Fri Oct 10 19:44:52 CEST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Werner Almesberger wrote:
> Andy Green wrote:
>> Workqueue function is based on scheduler / interrupt itself, it won't
>> happen in a context where interrupts are disabled.
> You still have a wait_for_completion in spi_sync, so that
> approach doesn't work :-(
> How bad was the workqueue really ? It's certainly wasteful,
> but if we consider that all the data goes up to userspace
> eagerly consuming every event anyway, it may not matter all
> that much in the big picture.
Shouldn't we be asking if we can batch input events in kernel and dump
them at less than 2 x 100Hz to reduce load at userspace, rather than how
can we conform to whatever upstream has (SPI API that insists on
interrupts) and never think outside that box?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the openmoko-kernel