From 7e39632bc84d4b7065a3c55e46f134942218eb12 Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Fri, 31 Aug 2001 22:12:32 +0000 Subject: [PATCH] Add FD_SETSIZE warning to types.h --- sys/sys/types.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/sys/types.h b/sys/sys/types.h index c731795913b..3671924ca86 100644 --- a/sys/sys/types.h +++ b/sys/sys/types.h @@ -178,6 +178,9 @@ typedef _BSD_TIMER_T_ timer_t; * manipulate such bit fields (the filesystem macros use chars). * FD_SETSIZE may be defined by the user, but the default here should * be enough for most uses. + * + * WARNING! temporary masks are stored on the kernel stack, do not increase + * this value past 2048 without fixing the issue in kern/sys_generic.c:select() */ #ifndef FD_SETSIZE #define FD_SETSIZE 1024