Commit Graph

131284 Commits

Author SHA1 Message Date
Ion-Mihai Tetcu
6b3bc4c3d9 Add my mentor Sam Lawrance (my other mentor Tom McLaughlin is already in the
file).
2007-04-01 13:08:57 +00:00
Pawel Jakub Dawidek
5c1c2e82e2 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
Craig Rodrigues
3b1b4d767f 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
Robert Watson
af940ed8c0 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
Pawel Jakub Dawidek
def72fbba1 Now that the vdropl() function is public, assert that the vnode interlock
is held.
2007-04-01 10:45:32 +00:00
Maxim Konovalov
8ad9c32345 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
Hajimu UMEMOTO
ca117b4022 Add Inoue-san and Shiozaki-san. 2007-04-01 08:48:00 +00:00
Marcel Moolenaar
d71cc3c89d Add bge(4).
Fix a white-space nit while I'm here.
2007-04-01 06:24:19 +00:00
Marcel Moolenaar
37402373e9 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
Hajimu UMEMOTO
304168a8af Add Suzuki-san and myself. 2007-04-01 05:53:52 +00:00
Benno Rice
936d5d0953 Add myself and grehan. 2007-04-01 01:11:50 +00:00
Warner Losh
7c013a7cd5 Fix typo 2007-04-01 00:47:08 +00:00
Marcel Moolenaar
447e3a84cc Remove unused file. 2007-04-01 00:41:01 +00:00
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