Commit Graph

131696 Commits

Author SHA1 Message Date
itetcu
54cd52c842 Add my mentor Sam Lawrance (my other mentor Tom McLaughlin is already in the
file).
2007-04-01 13:08:57 +00:00
pjd
b078229dad I think the code I'm removing here is completely bogus.
vfs_flags field is used for VFCF_* flags which are given at file system
driver creation time (via VFS_SET(9)) macro.

What this code did was bascially this:

If file system registers itself with VFCF_UNICODE flag (stores file names
as Unicode), it will gain MNT_SOFTDEP flag (UFS soft-updates).

If file system registers itself with VFCF_LOOPBACK flag (aliases some other
mounted FS), it will gain MNT_SUIDDIR flag (special handling of SUID on
dirs).

The latter will be quite dangerous, but those flags are reset later in
vfs_domount().

MFC after:	1 month
2007-04-01 13:08:05 +00:00
rodrigc
9ab068af59 Change #include <machine/pcpu.h> to #include <sys/pcpu.h>
to get definition of curthread, required by <sys/sx.h>.
2007-04-01 12:48:10 +00:00
rwatson
c2d2fa5e1e If nooption SMP on powerpc, also nooption ADAPTIVE_SX, which depends on
SMP and is now in the global NOTES.
2007-04-01 11:10:16 +00:00
pjd
c20a93a345 Now that the vdropl() function is public, assert that the vnode interlock
is held.
2007-04-01 10:45:32 +00:00
maxim
a9ed2a9332 o Document vdropl(9) [1].
o Add an MLINK for vdropl().

Reviewed by:	des [1]
Obtained from:	wording from vgone(9)
2007-04-01 09:48:59 +00:00
ume
a80f829a74 Add Inoue-san and Shiozaki-san. 2007-04-01 08:48:00 +00:00
marcel
32bc24cb16 Add bge(4).
Fix a white-space nit while I'm here.
2007-04-01 06:24:19 +00:00
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