[ofa-general] [RFC] XRC -- make receiving XRC QP independent of any one user process

Jack Morgenstein jackm at dev.mellanox.co.il
Sat Dec 22 22:15:25 PST 2007


On Sunday 23 December 2007 05:10, Tang, Changqing wrote:
> 
> You mentioned you need a kernel thread to scan all the XRC domain to cleanup the QP, 
> is there any existing timeout event or other event to trigger such a scan ? 
> 
Don't need any timeout event.  This can be handled by a linux workqueue.
When the heartbeat fails, the QP can be scheduled for deletion.

The workqueue (a kernel thread) sleeps until work is scheduled for it. After
the work is performed, it goes to sleep again.

- Jack



More information about the general mailing list