#
7729cbf1 |
| 02-Sep-2013 |
Davide Italiano <davide@FreeBSD.org> |
Fix socket buffer timeouts precision using the new sbintime_t KPI instead of relying on the tvtohz() workaround. The latter has been introduced lately by jhb@ (r254699) in order to have a fix that ca
Fix socket buffer timeouts precision using the new sbintime_t KPI instead of relying on the tvtohz() workaround. The latter has been introduced lately by jhb@ (r254699) in order to have a fix that can be backported to STABLE.
Reported by: Vitja Makarov <vitja.makarov at gmail dot com> Reviewed by: jhb (earlier version)
show more ...
|
Revision tags: release/8.4.0, release/9.1.0, release/8.3.0_cvs, release/8.3.0, release/9.0.0, release/7.4.0_cvs, release/8.2.0_cvs, release/7.4.0, release/8.2.0, release/8.1.0_cvs, release/8.1.0, release/7.3.0_cvs, release/7.3.0, release/8.0.0_cvs, release/8.0.0 |
|
#
10b3b545 |
| 17-Sep-2009 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
Merge from head
|
#
7d4b968b |
| 17-Sep-2009 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
Merge from head up to r188941 (last revision before the USB stack switch)
|
#
2e370a5c |
| 26-May-2009 |
Oleksandr Tymoshenko <gonzo@FreeBSD.org> |
Merge from HEAD
|
#
ce332f1e |
| 26-May-2009 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Add missing socket options.
|
Revision tags: release/7.2.0_cvs, release/7.2.0 |
|
#
1829d5da |
| 12-Mar-2009 |
Warner Losh <imp@FreeBSD.org> |
Update the projects tree to a newer FreeBSD current.
|
#
e2757609 |
| 09-Feb-2009 |
Robert Watson <rwatson@FreeBSD.org> |
Remove extra 'comma = 0' in socket state printing code, which otherwise could lead to an extra comma in output.
Submitted by: Christoph Mallon <christoph dot mallon at gmx dot de>
|
#
37e399b2 |
| 09-Feb-2009 |
Martin Blapp <mbr@FreeBSD.org> |
s/SS_FDREF/SS_NOFDREF/
|
#
192a6120 |
| 04-Jan-2009 |
Robert Watson <rwatson@FreeBSD.org> |
Remove two further uses (debugging and NULLing) of pr_ousrreq, missed due to svn commit in the wrong directory.
Spotted by: bz
|
Revision tags: release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0 |
|
#
f44e6e2e |
| 03-Jul-2008 |
Julian Elischer <julian@FreeBSD.org> |
Change a variable name to not shadow a global
Obtained from: vimage
|
Revision tags: release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0 |
|
#
a82be55d |
| 03-Jan-2008 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
Add missing sb_sndptr* fields to db_print_sockbuf(). While here change %d to %u for u_ints.
Discussed with: rwatson, kmacy
|
#
7abab911 |
| 03-May-2007 |
Robert Watson <rwatson@FreeBSD.org> |
sblock() implements a sleep lock by interlocking SB_WANT and SB_LOCK flags on each socket buffer with the socket buffer's mutex. This sleep lock is used to serialize I/O on sockets in order to preve
sblock() implements a sleep lock by interlocking SB_WANT and SB_LOCK flags 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.
show more ...
|
#
c3b162d5 |
| 15-Feb-2007 |
Robert Watson <rwatson@FreeBSD.org> |
Teach DDB how to print sockets, socket buffers, protosw's, and domain structures given pointers to them.
|
#
2e370a5c |
| 26-May-2009 |
Oleksandr Tymoshenko <gonzo@FreeBSD.org> |
Merge from HEAD
|
#
ce332f1e |
| 26-May-2009 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Add missing socket options.
|
Revision tags: release/7.2.0_cvs, release/7.2.0 |
|
#
1829d5da |
| 12-Mar-2009 |
Warner Losh <imp@FreeBSD.org> |
Update the projects tree to a newer FreeBSD current.
|
#
e2757609 |
| 09-Feb-2009 |
Robert Watson <rwatson@FreeBSD.org> |
Remove extra 'comma = 0' in socket state printing code, which otherwise could lead to an extra comma in output.
Submitted by: Christoph Mallon <christoph dot mallon at gmx dot de>
|
#
37e399b2 |
| 09-Feb-2009 |
Martin Blapp <mbr@FreeBSD.org> |
s/SS_FDREF/SS_NOFDREF/
|
#
192a6120 |
| 04-Jan-2009 |
Robert Watson <rwatson@FreeBSD.org> |
Remove two further uses (debugging and NULLing) of pr_ousrreq, missed due to svn commit in the wrong directory.
Spotted by: bz
|
Revision tags: release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0 |
|
#
f44e6e2e |
| 03-Jul-2008 |
Julian Elischer <julian@FreeBSD.org> |
Change a variable name to not shadow a global
Obtained from: vimage
|
Revision tags: release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0 |
|
#
a82be55d |
| 03-Jan-2008 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
Add missing sb_sndptr* fields to db_print_sockbuf(). While here change %d to %u for u_ints.
Discussed with: rwatson, kmacy
|
#
7abab911 |
| 03-May-2007 |
Robert Watson <rwatson@FreeBSD.org> |
sblock() implements a sleep lock by interlocking SB_WANT and SB_LOCK flags on each socket buffer with the socket buffer's mutex. This sleep lock is used to serialize I/O on sockets in order to preve
sblock() implements a sleep lock by interlocking SB_WANT and SB_LOCK flags 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.
show more ...
|
#
c3b162d5 |
| 15-Feb-2007 |
Robert Watson <rwatson@FreeBSD.org> |
Teach DDB how to print sockets, socket buffers, protosw's, and domain structures given pointers to them.
|