Commit Graph

131438 Commits

Author SHA1 Message Date
marcel
b8a1b7a931 When writing to PCI configuration registers, don't immediately
read the same register back. It can cause hangs or machine
checks in certain cases. One particular case is with bge(4)
when a reset is initiated for the controller.

MFC after: 1 month
2007-04-01 06:15:53 +00:00
ume
fb19bcfb30 Add Suzuki-san and myself. 2007-04-01 05:53:52 +00:00
benno
18831acae7 Add myself and grehan. 2007-04-01 01:11:50 +00:00
imp
0e083c9c08 Fix typo 2007-04-01 00:47:08 +00:00
marcel
8c8fca2743 Remove unused file. 2007-04-01 00:41:01 +00:00
des
b0b258dcad 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
jhb
b0b93a3c55 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
7f18b60804 oops, another missed file from crypto api change 2007-03-31 23:15:11 +00:00
cperciva
5ca8f701f1 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
7af0b4e5ce - Add retire dates for alumni where possible 2007-03-31 22:55:56 +00:00
mat
0b96b91cf7 Add myself, mentor and mentee here 2007-03-31 22:45:48 +00:00
pjd
969ba66299 Make vfs_mount_destroy() and vfs_freeopts() non-static, I'd like to use them. 2007-03-31 22:44:45 +00:00
gabor
2232891f0b - Extend incomplete entries for asmodai, bmilekic, brooks, csjp, gibbs,
jayanth, peter, ps
2007-03-31 22:42:27 +00:00
rwatson
11c7ddbfc7 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
eedfcf4ba0 - 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
ee8c38de9f - Extend the incomplete entries for knu, daichi, maho, nobutaka 2007-03-31 22:12:45 +00:00
cperciva
1720c4fbcb 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
f869e4ebc0 Fix bug in njl's email address. 2007-03-31 21:56:36 +00:00
philip
b6543cacb8 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
jhb
a347b09eca 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
31387e6228 Add my only ports mentee so far, koitsu. 2007-03-31 21:13:29 +00:00
mjacob
3c2bc3b40f Fix compilation problem (add a const) for pre-7.0 compiles. 2007-03-31 21:01:35 +00:00
jhb
aae7e3492c 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
jhb
c112f34363 - Add missing constants for subclasses.
- Add a few progif constants as well.
2007-03-31 20:41:00 +00:00
bmah
83630794dc Link myself up with my mentors. 2007-03-31 20:27:31 +00:00
gshapiro
58223f6ed7 Add myself 2007-03-31 20:18:32 +00:00
imp
60bbdc4281 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
rwatson
c6a7cbffcb A few more chicken-scratchings. 2007-03-31 19:53:08 +00:00
phk
4e6c503f4f 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
rwatson
e72ed409cd 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
imp
348648c0ef 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
des
7759c88eb1 Toss in my two bits. 2007-03-31 19:18:22 +00:00
keramida
348b4efee8 Add blackend to the team too, as mentored by me 2007-03-31 19:17:24 +00:00
imp
7c687aece9 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
mjacob
e994f7e84b Add my bits. 2007-03-31 18:46:23 +00:00
rwatson
bf5d456ba6 Fix bug in matteo entry. 2007-03-31 17:32:47 +00:00
wilko
bdbb9c66fb add myself 2007-03-31 17:28:45 +00:00
rwatson
4551c283ad 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
rwatson
76104e0492 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
wkoszek
1463edcf11 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
nork
bc12d14a68 Add myself and knu mafia I know:-). 2007-03-31 15:16:38 +00:00
bmah
b8e515c9fa 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
delphij
dfadb6fbb8 Add murray@ 2007-03-31 14:24:06 +00:00
delphij
8182f19c1d Add myself and chinsan@ 2007-03-31 14:20:56 +00:00
netchild
f695603376 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
dwmalone
768062b2e7 Fill in a bit of the tree around me and iedowse. 2007-03-31 13:05:32 +00:00
ale
98537963c7 Add myself. 2007-03-31 12:56:07 +00:00
tdb
9bbfa7b295 - Add myself. 2007-03-31 11:48:18 +00:00
rrs
9afebb96fc - 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
netchild
897ccc3f10 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