Zlotin, Lev wrote:
This will hardly affect the performance and application will become
unusable.
The first part of your sentence is probably correct, although I don’t
really think you said what you meant. “This will hardly affect the
performance” means “This will have a very minor impact on performance”.
Unless you are making tens of thousands of references over a period of a
few seconds, using ioctls to write your registers will not affect your
performance noticeably. If you ARE making tens of thousands of
references, then it’s likely that you are writing big blocks of
registers, and you can improve the performance by creating a “write
block” ioctl.
There is a strong tendency to believe that the ioctl solution MUST be
horribly slow. That belief is almost always wrong.
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.