Date: Fri, 21 Jul 1995 18:30:46 -0700 From: Bruce Evans <bde> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/sys tty.h Message-ID: <199507220130.SAA03772@freefall.cdrom.com>
next in thread | raw e-mail | index | archive | help
bde 95/07/21 18:30:45 Modified: sys/gnu/isdn iitty.c sys/i386/isa cx.c cy.c rc.c sio.c syscons.c sys/i386/isa/pcvt pcvt_drv.c sys/kern tty.c tty_pty.c sys/sys tty.h Log: Move the inline code for waking up writers to a new function ttwwakeup(). The conditions for doing the wakeup will soon become more complicated and I don't want them duplicated in all drivers. It's probably not worth making ttwwakeup() a macro or an inline function. The cost of the function call is relatively small when there is a process to wake up. There is usually a process to wake up for large writes and the system call overhead dwarfs the function call overhead for small writes.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199507220130.SAA03772>