You might also try to add a call to mlock (locking all memory requested
by the backend) in the backend at the beginning of reader_process.
But don't forget to unlock the memory after end of scan. For details
see the man page of mlock. I didn't add that to the distributed backend
because it requires the process to run as root which is probably a very
bad idea in general. However, if all else fails ...
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com