#
71cd6065 |
| 16-Mar-2017 |
Arne Jansen <jansen@webgods.de> |
poll: randomize order in which to wake multiple waiters
If several processes are waiting for an incoming connection via poll, currently the first process in the wakeup-queue will be woken up first.
poll: randomize order in which to wake multiple waiters
If several processes are waiting for an incoming connection via poll, currently the first process in the wakeup-queue will be woken up first. This leads to an uneven distribution of connections. This patch randomizes which process to wakeup first.
This change is tunable via /etc/system, randomize_pollwakeup and is by default turned off (0).
refs #3226
(cherry picked from commit 90564eafd43d33fd880045ac0b1455f91b776573)
show more ...
|
#
7f0270d8 |
| 02-Oct-2012 |
Richard Lowe <richlowe@richlowe.net> |
3150 poll times out immediately in 32bit kernels Reviewed by: Eric Schrock <eric.schrock@delphix.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Reviewed by: Gordon Ross <gwr@nexenta.com> Appr
3150 poll times out immediately in 32bit kernels Reviewed by: Eric Schrock <eric.schrock@delphix.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Reviewed by: Gordon Ross <gwr@nexenta.com> Approved by: Robert Mustacchi <rm@joyent.com>
show more ...
|
#
cd1c8b85 |
| 30-Aug-2012 |
Matthew Ahrens <mahrens@delphix.com> |
3112 ztest does not honor ZFS_DEBUG 3113 ztest should use watchpoints to protect frozen arc bufs 3114 some leaked nvlists in zfsdev_ioctl 3115 poll(2) returns prematurely in presence of spurious wake
3112 ztest does not honor ZFS_DEBUG 3113 ztest should use watchpoints to protect frozen arc bufs 3114 some leaked nvlists in zfsdev_ioctl 3115 poll(2) returns prematurely in presence of spurious wakeups Reviewed by: Adam Leventhal <ahl@delphix.com> Reviewed by: Matt Amdur <Matt.Amdur@delphix.com> Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Christopher Siden <chris.siden@delphix.com> Approved by: Eric Schrock <eric.schrock@delphix.com>
show more ...
|
#
fe234e7c |
| 20-Oct-2011 |
Matt Amdur <Matt.Amdur@delphix.com> |
1605 System time changes combined with spurios wakeups cause DP_POLL to return prematurely Reviewed by: Adam Leventhal <ahl@delphix.com> Reviewed by: George Wilson <gwilson@delphix.com> Reviewed by:
1605 System time changes combined with spurios wakeups cause DP_POLL to return prematurely Reviewed by: Adam Leventhal <ahl@delphix.com> Reviewed by: George Wilson <gwilson@delphix.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Eric Schrock <Eric.Schrock@delphix.com>
show more ...
|
#
8fd04b83 |
| 01-Mar-2010 |
Roger A. Faulkner <Roger.Faulkner@Sun.COM> |
PSARC 2009/657 delete obsolete system call traps 6906485 delete obsolete system call traps
--HG-- rename : usr/src/cmd/truss/xstat.c => usr/src/cmd/truss/stat.c rename : usr/src/lib/libc/port/gen/du
PSARC 2009/657 delete obsolete system call traps 6906485 delete obsolete system call traps
--HG-- rename : usr/src/cmd/truss/xstat.c => usr/src/cmd/truss/stat.c rename : usr/src/lib/libc/port/gen/dup2.c => usr/src/lib/libc/port/gen/dup.c rename : usr/src/lib/libc/port/sys/libc_fcntl.c => usr/src/lib/libc/port/sys/fcntl.c rename : usr/src/lib/libc/port/sys/libc_open.c => usr/src/lib/libc/port/sys/open.c
show more ...
|
#
d3d50737 |
| 13-Nov-2009 |
Rafael Vanoni <rafael.vanoni@sun.com> |
PSARC/2009/396 Tickless Kernel Architecture / lbolt decoupling 6860030 tickless clock requires a clock() decoupled lbolt / lbolt64 Portions contributed by Chad Mynhier <cmynhier@gmail.com>
|
#
7d5e0ac2 |
| 04-Aug-2009 |
ok199659 <Ondrej.Kubecka@Sun.COM> |
backout 6352258: needs more work
|
#
592b2ce2 |
| 04-Aug-2009 |
William Kucharski <William.Kucharski@Sun.COM> |
6352258 poll can be tricked into allocating WAY too much memory
|
#
d61dd0c1 |
| 22-Jun-2009 |
Prakash Sangappa <Prakash.Sangappa@Sun.COM> |
6517813 apache2 triggers panic in checkwfdlist()
|
#
94e7edb1 |
| 26-Mar-2009 |
lucy wang - Sun Microsystems - Beijing China <xiuyan.wang@Sun.COM> |
6812228 No need to do software checksum for multiple-mblk packets in ip_tcp_input() 6694625 Performance falls off the cliff with large IO sizes PSARC/2009/039 prefetch interfaces 6812282 PSARC 2009/0
6812228 No need to do software checksum for multiple-mblk packets in ip_tcp_input() 6694625 Performance falls off the cliff with large IO sizes PSARC/2009/039 prefetch interfaces 6812282 PSARC 2009/039 prefetch interfaces Contributed by Paul Durrant (pdurrant@solarflare.com)
show more ...
|
#
eb4462ac |
| 09-Dec-2008 |
David Plauger <Dave.Plauger@Sun.COM> |
6555476 pcacheset_cmp is inefficient (fix gcc build)
|
#
5c7544f7 |
| 06-Dec-2008 |
David Plauger <Dave.Plauger@Sun.COM> |
6555476 pcacheset_cmp is inefficient
|
#
da6c28aa |
| 26-Oct-2007 |
amw <none@none> |
PSARC/2007/218 caller_context_t in all VOPs PSARC/2007/227 VFS Feature Registration and ACL on Create PSARC/2007/244 ZFS Case-insensitive support PSARC/2007/315 Extensible Attribute Interfaces PSARC/
PSARC/2007/218 caller_context_t in all VOPs PSARC/2007/227 VFS Feature Registration and ACL on Create PSARC/2007/244 ZFS Case-insensitive support PSARC/2007/315 Extensible Attribute Interfaces PSARC/2007/394 ls(1) new command line options '-/' and '-%': CIFS system attributes support PSARC/2007/403 Modified Access Checks for CIFS PSARC/2007/410 Add system attribute support to chmod(1) PSARC/2007/432 CIFS system attributes support for cp(1), pack(1), unpack(1), compress(1) and uncompress(1) PSARC/2007/444 Rescind SETTABLE Attribute PSARC/2007/459 CIFS system attributes support for cpio(1), pax(1), tar(1) PSARC/2007/546 Update utilities to match CIFS system attributes changes. PSARC/2007/560 ZFS sharesmb property 4890717 want append-only files 6417428 Case-insensitive file system name lookup to support CIFS 6417435 DOS attributes and additional timestamps to support for CIFS 6417442 File system quarantined and modified attributes to support an integrated Anti-Virus service 6417453 FS boolean property for rejecting/allowing invalid UTF-8 sequences in file names 6473733 RFE: Need support for open-deny modes 6473755 RFE: Need ability to reconcile oplock and delegation conflicts 6494624 sharemgr needs to support CIFS shares better 6546705 All vnode operations need to pass caller_context_t 6546706 Need VOP_SETATTR/VOP_GETATTR to support new, optional attributes 6546893 Solaris system attribute support 6550962 ZFS ACL inheritance needs to be enhanced to support Automatic Inheritance 6553589 RFE: VFS Feature Registration facility 6553770 RFE: ZFS support for ACL-on-CREATE (PSARC 2007/227) 6565581 ls(1) should support file system attributes proposed in PSARC/2007/315 6566784 NTFS streams are not copied along with the files. 6576205 cp(1), pack(1) and compress(1) should support file system attributes proposed in PSARC/2007/315 6578875 RFE: kernel interfaces for nbmand need improvement 6578883 RFE: VOP_SHRLOCK needs additional access types 6578885 chmod(1) should support file system attributes proposed in PSARC/2007/315 6578886 RFE: disallow nbmand state to change on remount 6583349 ACL parser needs to support audit/alarm ACE types 6590347 tar(1) should support filesystem attributes proposed in PSARC/2007/315 6597357 *tar* xv@ doesn't show the hidden directory even though it is restored 6597360 *tar* should re-init xattr info if openat() fails during extraction of and extended attribute 6597368 *tar* cannot restore hard linked extended attributes 6597374 *tar* doesn't display "x " when hard linked attributes are restored 6597375 *tar* extended attribute header off by one 6614861 *cpio* incorrectly archives extended system attributes with -@ 6614896 *pax* incorrectly archives extended system attributes with -@ 6615225 *tar* incorrectly archives extended system attributes with -@ 6617183 CIFS Service - PSARC 2006/715
show more ...
|
#
3348528f |
| 27-Apr-2007 |
dm120769 <none@none> |
backout 6265036/6531693: causes 6544953
|
#
5f684e24 |
| 05-Mar-2007 |
sp92102 <none@none> |
6422458 /dev/poll dp_nfds checking off-by-one; application failures ensue
|
#
a913396d |
| 13-Feb-2007 |
qiao <none@none> |
6265036 cv_waituntil_sig() often returns early
|
#
11dc39dd |
| 20-Oct-2006 |
praks <none@none> |
6468901 recursive mutex_enter in pollwakeup
|
#
34709573 |
| 26-Apr-2006 |
raf <none@none> |
PSARC 2005/706 SIGEV_THREAD and SIGEV_PORT 4017841 The SIGEV_THREAD option for event notification not implemented
|
#
61b4b1ef |
| 13-Feb-2006 |
praks <none@none> |
6357796 Panic on event port on port_close_pfd 6358194 Deadlock panic on port_dissociate 6362390 "Deadlock: cycle in blocking chain" panic in portfs code 6367349 Panic on port_remove_event_doneq 63744
6357796 Panic on event port on port_close_pfd 6358194 Deadlock panic on port_dissociate 6362390 "Deadlock: cycle in blocking chain" panic in portfs code 6367349 Panic on port_remove_event_doneq 6374407 port_getn does not dissociate fd when it reports an event on it 6362558 system panics in port_associate_ksource
show more ...
|
#
e4506d67 |
| 20-Sep-2005 |
meem <none@none> |
4790586 bogus coding in kstrputmsg() 4868000 dblk_constructor() ASSERT() is off-by-one 5087794 strdoioctl() block comment is incorrect 6227620 poll's p_fno_ctl check is off-by-one 6325582 maxsepgcnt:
4790586 bogus coding in kstrputmsg() 4868000 dblk_constructor() ASSERT() is off-by-one 5087794 strdoioctl() block comment is incorrect 6227620 poll's p_fno_ctl check is off-by-one 6325582 maxsepgcnt: proof of STREAMS in other SunOS systems
show more ...
|
#
7c478bd9 |
| 14-Jun-2005 |
stevel@tonic-gate <none@none> |
OpenSolaris Launch
|