[openib-general] Re: opensm and signals

Eitan Zahavi eitan at openib.org
Mon Sep 12 23:06:44 PDT 2005


Hal Rosenstock wrote:
> On Mon, 2005-09-12 at 04:00, Eitan Zahavi wrote:
> 
>>>Hi, Hal, Eitan!
>>>Whats the reason opensm needs to catch and try to handle signals
>>
>>such as SIGINT?
> 
> 
>>[EZ] The reason was way back some drivers had resource tracking
>>problems. So if OpenSM left without cleaning up all used resources
>>(like MAD buffers and UD-AVs) 
>>
>>the driver oops'ed.
>>
>>>It seems that we can let the default handler simply kill the
>>
>>application.
>>
>>>If this is required for some vendor layer, shouldnt the signal
>>>handling be part of that vendor layer?
>>
>>I will be glad to remove that code...
> 
> 
> Do we still need to any supported vendor layer ?
I do not know. I guess that once we turn off the signal handlers we will find out.
Anyway the races on the vendor exit will not be solved by that as osmtest or opensm -o
still needs to exit some how.

EZ
> 
> -- Hal
> 




More information about the general mailing list