Feature #2832
openlibsocket should go the way of libpthread
30%
Description
Like libw, libpthread, and others before it, libsocket and libnsl should move into libc and enter retirement as filters.
While most software written with portability in mind at all knows about these two problem children, this remains a persistent source of complaints and frustration for no apparent reason. Over 2/3 of the processes on randomly sampled systems already have these libraries in their address spaces, and for those that do not, the cost is 3 pages (2 for libnsl's data and 1 for libsocket's). Even on a large system with thousands of processes, the cost will be less than 20MB total, well below 0.1% of DRAM on such systems. Systems with fewer processes, or a larger share of processes that need these libraries anyway, will pay a proportionately lower price.
Updated by Keith Wesolowski about 11 years ago
Apparently libsocket is already there, so this applies to libnsl only.
Updated by Yuri Pankov over 10 years ago
Keith Wesolowski wrote:
Apparently libsocket is already there, so this applies to libnsl only.
Sadly, it doesn't seem to be the case.
Updated by Rich Lowe about 10 years ago
- Assignee changed from Keith Wesolowski to Rich Lowe
- % Done changed from 0 to 60
Updated by Yuri Pankov almost 6 years ago
- Subject changed from libsocket and libnsl should go the way of libpthread to libsocket should go the way of libpthread
- Status changed from New to In Progress
- Assignee changed from Rich Lowe to Yuri Pankov
- % Done changed from 60 to 30
libnsl should stay as it has a lot of other code that simply doesn't belong to libc, though some of its citizens can move.