Hi Gary.

We are making use of the lis_register_driver_qlock_option method to
remove the qlock protection on some of our drivers

I trust you are not doing anything SMP.  Realize that this probably
puts you on the bleeding edge, even on uP.  Are you having some
difficulty with the default LIS_QLOCK_QUEUE?  Or is it performance
related (not sure this change would help that)?

and have some
question on the correct way to use it.  If the driver is a clone driver
I suspect that we would use the major number returned by the register
call.

Although I have not used this function, that's the way I read
the code.

What is the queue locking state of the clone driver and do we
need to control this also?

The stream head corresponding to the stream containing your
driver queues uses LIS_QLOCK_QUEUE (see the lis_set_q_sync() call
in lis_stropen()).  You can't control that from the outside (ie,
you'd have to make code changes to LiS).

Regards,
        Steve

------------------------------------------------------------------------
Steve Schefter                               phone: +1 705 725 9999 x26
The Software Group Limited                     fax: +1 705 725 9666
642 Welham Road,                             email: [EMAIL PROTECTED]
Barrie, Ontario CANADA  L4N 9A1                Web: www.wanware.com

_______________________________________________
Linux-streams mailing list
[email protected]
http://gsyc.escet.urjc.es/mailman/listinfo/linux-streams

Reply via email to