4 ms·
Is there a particular reason the Linux kernel favors names like `somaxconn` instead of `socket_max_connections`? It seems like a rather straightforward improvem
by ampersandy 6y ago
Is there a particular reason the Linux kernel favors names like `somaxconn` instead of `socket_max_connections`? It seems like a rather straightforward improvement for readability; so, why are shorter, compressed names preferred?
- mehrdadn 6y agoThat would make it too easy to understand.
- codys 6y agoThis particular name originates from BSD 4.2 [1], which was released in 1983. (For some context, GCC 1.0 is from 1987, pcc was used to build BSD 4.2. The first Linux release was 1991). 1: https://github.com/dspinellis/unix-history-repo/blob/0f4556f12c8f75078501c9d1338ae7648a97f975/usr/src/sys/h/socket.h#L91 https://github.com/dspinellis/unix-history-repo/blob/0f4556f...