summaryrefslogtreecommitdiffstats
path: root/sys/kern/uipc_debug.c
Commit message (Collapse)AuthorAgeFilesLines
* Add missing socket options.pjd2009-05-261-0/+8
|
* Remove extra 'comma = 0' in socket state printing code, which otherwiserwatson2009-02-091-1/+0
| | | | | | could lead to an extra comma in output. Submitted by: Christoph Mallon <christoph dot mallon at gmx dot de>
* s/SS_FDREF/SS_NOFDREF/mbr2009-02-091-1/+1
|
* Remove two further uses (debugging and NULLing) of pr_ousrreq, missed duerwatson2009-01-041-2/+0
| | | | | | to svn commit in the wrong directory. Spotted by: bz
* Change a variable name to not shadow a globaljulian2008-07-031-2/+2
| | | | Obtained from: vimage
* Add missing sb_sndptr* fields to db_print_sockbuf().bz2008-01-031-5/+9
| | | | | | While here change %d to %u for u_ints. Discussed with: rwatson, kmacy
* sblock() implements a sleep lock by interlocking SB_WANT and SB_LOCK flagsrwatson2007-05-031-8/+0
| | | | | | | | | | | | | | | | | | | | | | | on each socket buffer with the socket buffer's mutex. This sleep lock is used to serialize I/O on sockets in order to prevent I/O interlacing. This change replaces the custom sleep lock with an sx(9) lock, which results in marginally better performance, better handling of contention during simultaneous socket I/O across multiple threads, and a cleaner separation between the different layers of locking in socket buffers. Specifically, the socket buffer mutex is now solely responsible for serializing simultaneous operation on the socket buffer data structure, and not for I/O serialization. While here, fix two historic bugs: (1) a bug allowing I/O to be occasionally interlaced during long I/O operations (discovere by Isilon). (2) a bug in which failed non-blocking acquisition of the socket buffer I/O serialization lock might be ignored (discovered by sam). SCTP portion of this patch submitted by rrs.
* Teach DDB how to print sockets, socket buffers, protosw's, and domainrwatson2007-02-151-0/+530
structures given pointers to them.
OpenPOWER on IntegriCloud