Re: TTY code problems in current

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Mon, 04 Jul 2005 14:37:52 +0200
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.
Received on Mon Jul 04 2005 - 10:37:58 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:38 UTC