On Tue, 5 Aug 2003, Ronald Bultje wrote: > > sorry, but when the kernel became a heap?.... > > why not to take as an example ALSA? > > create a small add-ons library, that can do transformations. > ALSA is the worst example of how one can screw up. An add-on lib like > this is supposed to provide functionality in addition to the POSIX > calls, not *wrap* POSIX. OK. tomorrow, framegrabbers -> 12bit -> to bus (RGB), PCI bus -> 64 bit, TV -> HDTV. etc. thus, a small driver will take in a primitive case: 768x576x3x16(12 packed into words) = 2654208 bytes. to make all calculations, one will need additional buffers (2-3) -> up to 7Mb of kernel space. +doublebuffering+additional space for user buffers etc... +somebody likes to have inhibit user access control, just in the kernel. if a user is not watching an image from a camera, why kernel is eating memory? maybe, I'm wrong...