Commit Graph

131291 Commits

Author SHA1 Message Date
Andrey A. Chernov
6ed7e2bc9e Add myself 2007-04-01 14:52:51 +00:00
Alexander Leidinger
c9be0e5d4d Tell a statistic checker that not checking the return value of the probing
of the mii phy is intended for this chip.

Found by:	Coverity Prevent (tm)
CID:		43
2007-04-01 14:15:26 +00:00
Alexander Leidinger
2acfcc2d4c Make it obvious that we don't care about the return value of
usbd_endpoint_count(), the failure case is handled implicit in the
following code.

Found by:	Coverity Prevent (tm)
CID:		56
2007-04-01 13:46:39 +00:00
Pawel Jakub Dawidek
daa88cdf0a Style nit. 2007-04-01 13:41:10 +00:00
Yaroslav Tykhiy
6b8ef68111 This trivial change should fix at least 3 similar bugs. All of
them are related to the `c' function's need to know if we are at
the actual end of the address range.  (It must print the text not
earlier than the whole pattern space was deleted.)  It appears the
only sed function with this requirement.

There is `lastaddr' set by applies(), which is to notify the `c'
function, but it can't always help because it's false when we are
hitting the end of file early.  There is also a bug in applies()
due to which `lastaddr' isn't set to true on degenerate ranges such
as `$,$' or `N,$' if N appears the last line number.

Handling early EOF condition in applies() could look more logical,
but it would effectively revert sed to the unreasonable behaviour
rev. 1.26 of main.c fought against, as it would require lastline()
be called for each line within each address range.  So it's better
to call lastline() only if needed by the `c' function.

Together with this change to sed go regression tests for the bugs
fixed (c1-c3).  A basic test of `c' (c0) is also added as it helped
me to spot my own error.

Discussed with:		dds
Tested by:		the regression tests
MFC after:		1 week
2007-04-01 13:25:03 +00:00
Ion-Mihai Tetcu
e1e5612341 Add my first (and only until now) mentee Dryice Dong Liu (dryice). 2007-04-01 13:14:38 +00:00
Ion-Mihai Tetcu
6da6572363 Add myself. 2007-04-01 13:11:50 +00:00
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