Date: Mon, 04 Jul 2005 14:37:52 +0200 From: "Poul-Henning Kamp" <phk@phk.freebsd.dk> To: Roman Kurakin <rik@cronyx.ru> Cc: freebsd-current@freebsd.org Subject: Re: TTY code problems in current Message-ID: <29842.1120480672@phk.freebsd.dk> In-Reply-To: Your message of "Mon, 04 Jul 2005 16:03:49 %2B0400." <42C925A5.8060901@cronyx.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <42C925A5.8060901@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@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?29842.1120480672>