Date: Thu, 20 Feb 1997 03:51:54 -0800 (PST) From: Bruce Evans <bde> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern sys_generic.c Message-ID: <199702201151.DAA07900@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
bde 97/02/20 03:51:53 Modified: sys/kern sys_generic.c Log: Improved select(): - avoid malloc() if the number of fds is small. - pack the bits better so that `small' is quite large. - don't waste time generating zero bits for null fd_set pointers or scanning these bits. Possibly improved select(): - free malloc()ed storage before returning. This is simpler and I think huge select()s aren't worth optimizing since they are rare, relative gain would be small and there would be tiny costs for all selects(). Reviewed by: ache (first version by him too) Revision Changes Path 1.22 +51 -36 src/sys/kern/sys_generic.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199702201151.DAA07900>