TTY code problems in current

Roman Kurakin rik at cronyx.ru
Mon Jul 4 13:53:23 GMT 2005


Poul-Henning Kamp wrote:

>In message <42C925A5.8060901 at cronyx.ru>, Roman Kurakin writes:
>  
>
>>Hi,
>>
>>   I observe some problems with my driver in async mode.
>>One of the panics I see is in function putc() from tty_subr.c.
>>It seems that this panic due to the fact that clist is not protected
>>by any locks if driver works in smpsafe mode without Giant.
>>
>>   The panic occur beacuse of pointer modification (the new value
>>of the pointer eq. to NULL.
>>Any comments?
>>    
>>
>
>We do not support smpsafe tty drivers yet.
>  
>
Hm, I was sure we are after you patches. But I didn't really
check you patches.Mostly the the API changes, not internals.

Do you work on it or your work was only code cleanup?
Is there any plans to make them smpsafe on RELENG_6?

Thanks,
                rik



More information about the freebsd-current mailing list