Commit Graph

131471 Commits

Author SHA1 Message Date
Dag-Erling Smørgrav
e6534b36d8 Make vdropl() public; zfs needs it. There is also plenty of existing
file system code (mostly *_reclaim()) which look like this:

    VOP_LOCK(vp);
    /* examine vp */
    VOP_UNLOCK(vp);
    vdrop(vp);

This can now be rewritten to:

    VOP_LOCK(vp);
    /* examine vp */
    vdropl(vp); /* will unlock vp */

MFC after:	1 week
2007-03-31 23:57:17 +00:00
John Baldwin
4e7f640dfb Optimize sx locks to use simple atomic operations for the common cases of
obtaining and releasing shared and exclusive locks.  The algorithms for
manipulating the lock cookie are very similar to that rwlocks.  This patch
also adds support for exclusive locks using the same algorithm as mutexes.

A new sx_init_flags() function has been added so that optional flags can be
specified to alter a given locks behavior.  The flags include SX_DUPOK,
SX_NOWITNESS, SX_NOPROFILE, and SX_QUITE which are all identical in nature
to the similar flags for mutexes.

Adaptive spinning on select locks may be enabled by enabling the
ADAPTIVE_SX kernel option.  Only locks initialized with the SX_ADAPTIVESPIN
flag via sx_init_flags() will adaptively spin.

The common cases for sx_slock(), sx_sunlock(), sx_xlock(), and sx_xunlock()
are now performed inline in non-debug kernels.  As a result, <sys/sx.h> now
requires <sys/lock.h> to be included prior to <sys/sx.h>.

The new kernel option SX_NOINLINE can be used to disable the aforementioned
inlining in non-debug kernels.

The size of struct sx has changed, so the kernel ABI is probably greatly
disturbed.

MFC after:	1 month
Submitted by:	attilio
Tested by:	kris, pjd
2007-03-31 23:23:42 +00:00
Sam Leffler
511cecafd6 oops, another missed file from crypto api change 2007-03-31 23:15:11 +00:00
Colin Percival
5998aba99e Provide a dummy compression-layer skip function which just reads data and
discards it, for use when the compression layer code doesn't know how to
skip data (e.g., everything other than the "none" compressor).  This makes
format level code simpler because that code can now assume that the
compression layer always knows how to skip and will always skip exactly
the requested number of bytes.

Discussed with:	kientzle (3 months ago)
2007-03-31 22:59:43 +00:00
Gabor Kovesdan
affc66efb6 - Add retire dates for alumni where possible 2007-03-31 22:55:56 +00:00
Mathieu Arnold
7f2cde93b3 Add myself, mentor and mentee here 2007-03-31 22:45:48 +00:00
Pawel Jakub Dawidek
695919ad9a Make vfs_mount_destroy() and vfs_freeopts() non-static, I'd like to use them. 2007-03-31 22:44:45 +00:00
Gabor Kovesdan
8fc64a7744 - Extend incomplete entries for asmodai, bmilekic, brooks, csjp, gibbs,
jayanth, peter, ps
2007-03-31 22:42:27 +00:00
Robert Watson
46c0db10aa Flesh in some more of my mentees. Add scottl and some other misc bits
of history.
2007-03-31 22:28:59 +00:00
Gabor Kovesdan
8925e29eda - Fix a localized character. Please only use ASCII here, otherwise dot won't
be able to produce the output
2007-03-31 22:20:47 +00:00
Gabor Kovesdan
380a26b912 - Extend the incomplete entries for knu, daichi, maho, nobutaka 2007-03-31 22:12:45 +00:00
Colin Percival
a92fcfb26e Add tests for "bsdtar -t". These are useful primarily because they test
the archive_read_data_skip code.
2007-03-31 22:04:36 +00:00
Philip Paeps
7b9c4b3086 Fix bug in njl's email address. 2007-03-31 21:56:36 +00:00
Philip Paeps
9607cb9c70 Add relationship between my mentor and my grand-mentor. While here, add
brother committers marks en sepotvin.

This is fun. :-)
2007-03-31 21:50:52 +00:00
John Baldwin
4dc5078f81 Add constants for the fields in a BAR. Also, add two new macros
PCI_BAR_(IO|MEM)() that return true if the passed in value from a BAR
is for an IO or memory BAR, respectively.

Reviewed by:	imp
2007-03-31 21:39:02 +00:00
Philip Paeps
0ede1bfd33 Add my only ports mentee so far, koitsu. 2007-03-31 21:13:29 +00:00
Matt Jacob
9f9e9ae3a7 Fix compilation problem (add a const) for pre-7.0 compiles. 2007-03-31 21:01:35 +00:00
John Baldwin
6c0b61c319 Forced commit to note that the previous commit log was wrong for this
file.  The previous commit fixed a bug in pci_pending_msix() where it
mis-calculated the word in the PBA to read to see if a message was
pending.  Nothing actually uses pci_pending_msix() yet though, so this
didn't result in any visible problems.

MFC after:	1 week
2007-03-31 20:59:11 +00:00
John Baldwin
657d9f9f55 - Add missing constants for subclasses.
- Add a few progif constants as well.
2007-03-31 20:41:00 +00:00
Bruce A. Mah
e8f5d4efaf Link myself up with my mentors. 2007-03-31 20:27:31 +00:00
Gregory Neil Shapiro
31a064dc81 Add myself 2007-03-31 20:18:32 +00:00
Warner Losh
9ea3c0d8ae Move dg back to the active list
Use 'alumni' jkh entry for active jkh (he's stilla round)
move my alumni mentees to that section
sort alumni section
2007-03-31 20:09:44 +00:00
Robert Watson
0d7798bde7 A few more chicken-scratchings. 2007-03-31 19:53:08 +00:00
Poul-Henning Kamp
5dd4e9afd9 Add a pseudo-entry for "Birth of FreeBSD"
Add entries for the six persons listed in the first version of
commit.allow in the old FreeBSD 1 CVS repo.
Correct joergs date, and link him to jkh.
Add my own entry.
2007-03-31 19:44:27 +00:00
Robert Watson
45a4bcce4e Flesh out some information on my mentees and indirect mentees. Flesh out
jake's family tree a bit also, since he's inactive these days but
mentored quite a few interesting people.
2007-03-31 19:36:51 +00:00
Warner Losh
f3463aeba1 Add all my mentees, both formal as well as the ones that I may have
just been the trigger man for core@'s approval in access.  Who knew
there were 21 of them...
2007-03-31 19:21:43 +00:00
Dag-Erling Smørgrav
a48376d043 Toss in my two bits. 2007-03-31 19:18:22 +00:00
Giorgos Keramidas
e5a709188d Add blackend to the team too, as mentored by me 2007-03-31 19:17:24 +00:00
Warner Losh
9490068fce Add myself and my mentor apparent (jkh), although there was no mentoring
at the time, as such.  I'll add my mentees as soon as I can tease that
information from cvs.
2007-03-31 18:52:29 +00:00
Matt Jacob
fe6e7b01e9 Add my bits. 2007-03-31 18:46:23 +00:00
Robert Watson
c5f4de2949 Fix bug in matteo entry. 2007-03-31 17:32:47 +00:00
Wilko Bulte
874932404e add myself 2007-03-31 17:28:45 +00:00
Robert Watson
cca050d288 Fix a typo in rrs's entry.
Document eivind's grand-mentorships unto the second generation via me, as
well as some related loose ends.
2007-03-31 17:26:54 +00:00
Robert Watson
e92d773fbc Rather than ignoring any error return from getnewvnode() in nameiinit(),
explicitly test and panic.  This should not ever happen, but if it does,
this is a preferred failure mode to a NULL pointer dereference in kernel.

Coverity CID:	1716
Found with:	Coverity Prevent(tm)
2007-03-31 16:08:50 +00:00
Wojciech A. Koszek
4abab3d593 We don't need spinning locks here. Change them to the adaptive mutexes. This
change should bring no performance decrease, as it did not in my tests.

Reviewed by:	julian, glebius
Approved by:	cognet (mentor)
2007-03-31 15:43:06 +00:00
Norikatsu Shigemura
ba5f04bca8 Add myself and knu mafia I know:-). 2007-03-31 15:16:38 +00:00
Bruce A. Mah
b45bef74fc Add myself. nik@ was my doc/ mentor, I never had a mentor for my
now-returned ports/ commit bit, and my src/ mentors (imp / rwatson)
aren't in committers-src.dot yet.
2007-03-31 14:29:39 +00:00
Xin LI
ff6f5fc7e2 Add murray@ 2007-03-31 14:24:06 +00:00
Xin LI
4095e78897 Add myself and chinsan@ 2007-03-31 14:20:56 +00:00
Alexander Leidinger
c2bb6a54ef Tell interested readers of the source that the return value is not
checked by intend.

Found by:	Coverity Prevent (tm)
CID:		55
Reviewed by:	ariff
2007-03-31 13:38:12 +00:00
David Malone
1ae6e5f2a2 Fill in a bit of the tree around me and iedowse. 2007-03-31 13:05:32 +00:00
Alex Dupre
854e9543f1 Add myself. 2007-03-31 12:56:07 +00:00
Tim Bishop
56fe277659 - Add myself. 2007-03-31 11:48:18 +00:00
Randall Stewart
5e54f665f0 - Found bug in min split point bundling which caused
incorrect, non-bundlable fragmentation.
- Added min residual to better control split points for
  both how big a msg must be as well as how much needs
  to be left over.
- With our new algo in place, we need to implicitly
  set "end of msg" on the sp-> structure otherwise we
  end up with "hung" associations.
- Room reserved up front in IP header by pushing IP
  header to back of mbuf.
- Fix so FR's peg count of retransmissions needed.
- Fix so an unlucky chunk that never gets across
  will kill the assoc via the kill timer and send an
  abort too.
- Fix bug in sctp_input which can result in a crash.
- Do not strip off IP options anymore.
- Clean up sctp_calculate_rto().
- Get rid of unused sysctl.
- Fixed so we discard all M-Cast
- Fixed so port check done AFTER checksum
- Fixed bug in fragmentation code that prevented
  us from fragmenting a small complete message when
  we needed to.
- Window probes were not marked back to unsent and
  flight adjusted when a sack came in with no
  window change or accepting of the probe data.
  We now fix this with having a mark on the net and
  the chunk so we can clear it out when the sack arrives
  forcing it to retran just like it was "new" this
  improves the handling of window probes, which were
  dropped by the receiver.
- Tighten AUTH protocol error checks during INIT/INIT-ACK exchange
2007-03-31 11:47:30 +00:00
Alexander Leidinger
d5750df2ce Add my mentees bsam and ariff, my mentors steve (date not determined) and
joerg (to the ports file only, he is already listed in the src one) and
myself.
2007-03-31 11:40:36 +00:00
Randall Stewart
81cd3d4cac Add myself. 2007-03-31 11:33:32 +00:00
Colin Percival
0260ab4f4e Split the append_archive function (used for processing @<archive> directives)
into separate append_archive and append_archive_filename functions; the first
takes a "struct archive *" as input, while the second takes a filename, opens
the archive, and calls the first.

There should be no changes in behaviour as a result of this commit; it simply
reorganizes code to make more sense.  At some point in the future it may be
possible to share code between append_archive and read_archive, but not yet.

Discussed with:	kientzle
2007-03-31 10:14:03 +00:00
Yaroslav Tykhiy
c691c0ed18 Make the comment for cspace() match reality. 2007-03-31 09:08:22 +00:00
Mike Makonnen
0a9b210037 Make subroutine names more conformant with other scripts in rc.d.
MFC After: 2 weeks
2007-03-31 09:03:38 +00:00
Ralf S. Engelschall
8e219dc525 Add my entry as a src committer 2007-03-31 07:38:26 +00:00