TTY code problems in current

Poul-Henning Kamp phk at phk.freebsd.dk
Mon Jul 4 12:37:58 GMT 2005


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.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the freebsd-current mailing list