Re: [RFC] Should we create a raw input interface for IR's ?

From: Krzysztof Halasa
Date: Thu Nov 26 2009 - 13:40:11 EST


Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx> writes:

> Why would sysfs write be slower than ioctl?

Sysfs is generally one-value, one-file. open, read/write, close.
ioctl() OTOH does everything (e.g. a whole key table) in one syscall.
--
Krzysztof Halasa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/