]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
17 years agoUpdate the FILES section which has been wrong for some time.
ceri [Sun, 15 Oct 2006 11:50:11 +0000 (11:50 +0000)]
Update the FILES section which has been wrong for some time.

MFC after: 3 days

17 years agoAdd the sun4v category.
ceri [Sun, 15 Oct 2006 11:43:42 +0000 (11:43 +0000)]
Add the sun4v category.

Reminded by: ru
MFC After: 1 re approval

17 years agoWrap debug printfs into SEQ_DEBUG() to avoid kernel messages clutter
ariff [Sun, 15 Oct 2006 08:23:48 +0000 (08:23 +0000)]
Wrap debug printfs into SEQ_DEBUG() to avoid kernel messages clutter
during module unload.

17 years agoFix the wraparound of memsize >=2GB.
tanimura [Sun, 15 Oct 2006 05:04:06 +0000 (05:04 +0000)]
Fix the wraparound of memsize >=2GB.

17 years agoLong ago, revision 1.22 of vm/vm_pager.h introduced a bug. Specifically,
alc [Sat, 14 Oct 2006 23:21:48 +0000 (23:21 +0000)]
Long ago, revision 1.22 of vm/vm_pager.h introduced a bug.  Specifically,
it introduced a check after the call to file system's get pages method
that assumes that the get pages method does not change the array of pages
that is passed to it.  In the case of vnode_pager_generic_getpages(),
this assumption has been incorrect.  The contents of the array of pages
may be shifted by vnode_pager_generic_getpages().  Likely, the problem
has been hidden by vnode_pager_haspage() limiting the set of pages that
are passed to vnode_pager_generic_getpages() such that a shift never
occurs.

The fix implemented herein is to adjust the pointer to the array of pages
rather than shifting the pages within the array.

MFC after: 3 weeks
Fix suggested by: tegge

17 years agoChange vnode_pager_addr() such that on returning it distinguishes between
alc [Sat, 14 Oct 2006 22:09:03 +0000 (22:09 +0000)]
Change vnode_pager_addr() such that on returning it distinguishes between
an error returned by VOP_BMAP() and a hole in the file.

Change the callers to vnode_pager_addr() such that they return
VM_PAGER_ERROR when VOP_BMAP fails instead of a zero-filled page.

Reviewed by: tegge
MFC after: 3 weeks

17 years agoMoved __BEGIN_DECLS up a little so that it covers __test_sse() and C++
bde [Sat, 14 Oct 2006 20:35:56 +0000 (20:35 +0000)]
Moved __BEGIN_DECLS up a little so that it covers __test_sse() and C++
isn't broken,

PR: 104425

17 years agoThis commit was generated by cvs2svn to compensate for changes in r163356,
ru [Sat, 14 Oct 2006 19:50:57 +0000 (19:50 +0000)]
This commit was generated by cvs2svn to compensate for changes in r163356,
which included commits to RCS files with non-trunk default branches.

17 years agoFix from upstream: unbreak generation of the terminfo.5 manpage.
ru [Sat, 14 Oct 2006 19:50:57 +0000 (19:50 +0000)]
Fix from upstream: unbreak generation of the terminfo.5 manpage.

PR: docs/46709, docs/56981, docs/80871
MFC after: 3 days
Obtained from: ftp://invisible-island.net/ncurses/ncurses-5.5.tar.gz

17 years agoPrevent IOC_IN with zero size argument (this is only supported
ru [Sat, 14 Oct 2006 19:01:55 +0000 (19:01 +0000)]
Prevent IOC_IN with zero size argument (this is only supported
if backward copatibility options are present) from attempting
to free memory that wasn't allocated.  This is an old bug, and
previously it would attempt to free a null pointer.  I noticed
this bug when working on the previous revision, but forgot to
fix it.

Security: local DoS
Reported by: Peter Holm
MFC after: 3 days

17 years agoReplace duplicate and not quite accurate capabilities
ru [Sat, 14 Oct 2006 16:39:03 +0000 (16:39 +0000)]
Replace duplicate and not quite accurate capabilities
description with a reference to the disktab(5) manpage.

PR: doc/48105

17 years agoReflect the following changes to lib/libc/gen/disklabel.c in a manpage:
ru [Sat, 14 Oct 2006 16:37:53 +0000 (16:37 +0000)]
Reflect the following changes to lib/libc/gen/disklabel.c in a manpage:

: revision 1.13
: date: 2002/04/03 15:44:53;  author: phk;  state: Exp;  lines: +0 -5
: Initial deorbit burn for the undocumented and unused d_boot[01]
: fields of struct disklabel.
:
: Sponsored by: DARPA and NAI Labs.
: ----------------------------
: revision 1.15
: date: 2002/05/12 20:49:33;  author: phk;  state: Exp;  lines: +1 -3
: Retire the bogus uses of the disklabel field d_sbsize and begin to
: initialize it to zero so we don't have to have everbody and their
: aunt including FFS specific header files.
:
: Sponsored by: DARPA & NAI Labs.

17 years agoNew release notes: mrouted(8) de-orbit.
bmah [Sat, 14 Oct 2006 13:46:00 +0000 (13:46 +0000)]
New release notes:  mrouted(8) de-orbit.

MFCs noted:  i386 bootloader/nextboot.conf fix, atausb, ARM toolchain.

Other updates:  tzdata2006n, GNOME 2.16.1.

17 years agoDon't inherit THR_FLAGS_NEED_SUSPEND for child process, child process
davidxu [Sat, 14 Oct 2006 13:40:08 +0000 (13:40 +0000)]
Don't inherit THR_FLAGS_NEED_SUSPEND for child process, child process
only has one thread, setting the flag can cause the thread to be
suspended and no another thread will resume it.

17 years agoClose a race condition where num can be larger than tmp, giving the user
trhodes [Sat, 14 Oct 2006 10:30:14 +0000 (10:30 +0000)]
Close a race condition where num can be larger than tmp, giving the user
too large of a boundary.

Reported by: Ilja Van Sprundel

17 years ago- Use our standard section 4 SYNOPSIS layout.
joel [Sat, 14 Oct 2006 07:57:55 +0000 (07:57 +0000)]
-  Use our standard section 4 SYNOPSIS layout.
-  Add a bunch of missing Xrefs's.

17 years agoDon't do null Setattr RPCs for VA_MARK_ATIME. When we added the
bde [Sat, 14 Oct 2006 07:25:11 +0000 (07:25 +0000)]
Don't do null Setattr RPCs for VA_MARK_ATIME.  When we added the
VA_MARK_ATIME feature to fix POSIX conformance fore execve() and mmap(),
we thought that it was optimized well enough for the one file system
that supports it (ffs) and harmless for other file systems (except
layered ones which already get the layering for VOP_SETATTR() wrong).
However, nfs_setattr() doesn't do much parameter checking, so when
it gets a combination of parameters that it doesn't understand, it
always does a Setattr RPC.  This RPC can't do anything good, and for
VA_MARK_ATIME it is null except for wasting a lot of time.

This is the smallest and easiest to fix of several bugs that have
increased the number of RPCs for kernel builds on nfs by more than
100% since 2004-11-05.  The real-time increase depends on network
latency and parallelization and can also be very large (approaching
the same percentage for unparallelized operations like "make depend"
on systems with fast CPUs and high-latency networks).

17 years agoSimplify the arguments to bce_tx_encap.
scottl [Sat, 14 Oct 2006 05:30:12 +0000 (05:30 +0000)]
Simplify the arguments to bce_tx_encap.

17 years agoMore small whitespace cleanups
scottl [Sat, 14 Oct 2006 04:28:23 +0000 (04:28 +0000)]
More small whitespace cleanups

17 years agoDon't copy the bd_chain head pointers into temporary objects, they are
scottl [Sat, 14 Oct 2006 03:58:59 +0000 (03:58 +0000)]
Don't copy the bd_chain head pointers into temporary objects, they are
available globally.

17 years agoBackout unblocking of signal if no threads can currently handle it.
tegge [Sat, 14 Oct 2006 01:11:44 +0000 (01:11 +0000)]
Backout unblocking of signal if no threads can currently handle it.
The check for pending signal after direct invocation of signal handler
is sufficient.

17 years agoRemove mention of "lomac" as it's been gone for a good while now (at least
trhodes [Fri, 13 Oct 2006 23:59:59 +0000 (23:59 +0000)]
Remove mention of "lomac" as it's been gone for a good while now (at least
two years).

17 years agoo Make _thr_umutex_init a function.
davidxu [Fri, 13 Oct 2006 22:31:00 +0000 (22:31 +0000)]
o Make _thr_umutex_init a function.
o Eliminate unused parameter for some functions.
o Convert type of first parameter to void * for _thr_umtx_wait
  and _thr_umtx_wake.

17 years agoDefine an empty C_DIALECT in case of "icc", just in case.
ru [Fri, 13 Oct 2006 22:29:06 +0000 (22:29 +0000)]
Define an empty C_DIALECT in case of "icc", just in case.

17 years ago- Remove include links only when .depend is also removed, so that
ru [Fri, 13 Oct 2006 22:28:14 +0000 (22:28 +0000)]
- Remove include links only when .depend is also removed, so that
  "make depend; make clean; make -n" works.

- Preseve kernel's .depend if it already exists and its creation
  is interrupted.

Reported/reviewed by: bde

17 years agoIgnore the uart device.
jb [Fri, 13 Oct 2006 21:55:30 +0000 (21:55 +0000)]
Ignore the uart device.

17 years agoRemove a nmdm comment which ru@ thinks was no longer required.
jb [Fri, 13 Oct 2006 21:44:57 +0000 (21:44 +0000)]
Remove a nmdm comment which ru@ thinks was no longer required.

17 years agosun4v uses the sparc64 version of this file.
jb [Fri, 13 Oct 2006 21:30:18 +0000 (21:30 +0000)]
sun4v uses the sparc64 version of this file.

17 years agoWait for thread count to reach zero in destroy_devl() even when no purge
tegge [Fri, 13 Oct 2006 20:49:24 +0000 (20:49 +0000)]
Wait for thread count to reach zero in destroy_devl() even when no purge
method is defined, to avoid memory being modified after free.

Temporarily increase refcount in destroy_devl() to avoid a double free
if dev_rel() is called while waiting for thread count to reach zero.

17 years agoReplace a rarely used "depuration" with "debugging".
ru [Fri, 13 Oct 2006 20:48:17 +0000 (20:48 +0000)]
Replace a rarely used "depuration" with "debugging".

PR: docs/85127
Submitted by: Gary W. Swearingen (partially)
MFC after: 3 days

17 years agoMake the SYNOPSIS section more meaningful.
ru [Fri, 13 Oct 2006 20:37:23 +0000 (20:37 +0000)]
Make the SYNOPSIS section more meaningful.

PR: docs/85066
Submitted by: Gary W. Swearingen
MFC after: 3 days

17 years agoForgot to bump the document date.
ru [Fri, 13 Oct 2006 20:34:44 +0000 (20:34 +0000)]
Forgot to bump the document date.

17 years agoSome word smithing adopted from the PR.
ru [Fri, 13 Oct 2006 20:28:58 +0000 (20:28 +0000)]
Some word smithing adopted from the PR.

PR: docs/54451
Originally by: Andreas Fuchs
Adopted by: jhb
MFC after: 3 days

17 years agoDelay unblocking signal and restoring process signal mask until the
tegge [Fri, 13 Oct 2006 20:12:07 +0000 (20:12 +0000)]
Delay unblocking signal and restoring process signal mask until the
thread signal mask has been updated to avoid stack overflow during signal
bursts.

Don't block signal forever if no threads can currently handle signal.

Check for pending signal after direct invocation of signal handler.

17 years agoDelay setting wakeup time until after poll array has been allocated.
tegge [Fri, 13 Oct 2006 20:04:13 +0000 (20:04 +0000)]
Delay setting wakeup time until after poll array has been allocated.
Blocking on the malloc spinlock would cause the select timeout to be lost.

17 years agoSync thread jump table with libc and other thread libraries.
tegge [Fri, 13 Oct 2006 20:01:40 +0000 (20:01 +0000)]
Sync thread jump table with libc and other thread libraries.

17 years agoInclude pcpu.h so that kernel is buildable w/o RWLOCK_NOINLINE option
glebius [Fri, 13 Oct 2006 19:43:35 +0000 (19:43 +0000)]
Include pcpu.h so that kernel is buildable w/o RWLOCK_NOINLINE option
and with some code that uses rwlock(9).

17 years agoMove the 2 additional #includes down into the #ifndef DEV_ATPIC section.
jhb [Fri, 13 Oct 2006 17:31:57 +0000 (17:31 +0000)]
Move the 2 additional #includes down into the #ifndef DEV_ATPIC section.

17 years agoDocument that unexpand(1)'s -a and -t options are exclusive.
ru [Fri, 13 Oct 2006 16:22:25 +0000 (16:22 +0000)]
Document that unexpand(1)'s -a and -t options are exclusive.

PR: docs/85063

17 years ago- Document all character classes our tr(1) supports. [1]
ru [Fri, 13 Oct 2006 16:13:45 +0000 (16:13 +0000)]
- Document all character classes our tr(1) supports.  [1]
- Mention that some of them are POSIX extensions.  [2]

PR: docs/85062 [1]
Submitted by: Toby Peterson [1]
Obtained from: wctype(3) [2]
MFC after: 3 days

17 years agoAdd missing comma.
ru [Fri, 13 Oct 2006 16:11:12 +0000 (16:11 +0000)]
Add missing comma.

17 years agoAdd Soekris Engineering information.
obrien [Fri, 13 Oct 2006 15:51:53 +0000 (15:51 +0000)]
Add Soekris Engineering information.

17 years ago- Don't mention (wrong) defaults for FFS file system parameters,
ru [Fri, 13 Oct 2006 15:44:29 +0000 (15:44 +0000)]
- Don't mention (wrong) defaults for FFS file system parameters,
  replace them with references to newfs(8) which documents them.

- Remove mentions of LFS support for which was retired in 1998.

- Regenerate an example output.

PR: docs/84913
MFC after: 3 days

17 years agoMake net.inet6.ip6.auto_linklocal tunable. Someone may want to
ume [Fri, 13 Oct 2006 12:45:53 +0000 (12:45 +0000)]
Make net.inet6.ip6.auto_linklocal tunable.  Someone may want to
enable/disable auto_linklocal even in single user mode.

Discussed with: re@, gnn@
MFC after: 3 days

17 years agoUse type pthread_state for thread state.
davidxu [Fri, 13 Oct 2006 12:45:21 +0000 (12:45 +0000)]
Use type pthread_state for thread state.

17 years agoRevert the default value of net.inet6.ip6.auto_linklocal to 1.
ume [Fri, 13 Oct 2006 12:41:36 +0000 (12:41 +0000)]
Revert the default value of net.inet6.ip6.auto_linklocal to 1.
If ipv6_enable is not set to "YES", net.inet6.ip6.auto_linklocal
is turned to 0 at boot.

Discussed with: re@, gnn@
MFC after: 3 days

17 years ago- Before doing ioctl(SIOCGIFNETMASK) put the proper IP address into the ifreq,
glebius [Fri, 13 Oct 2006 12:38:43 +0000 (12:38 +0000)]
- Before doing ioctl(SIOCGIFNETMASK) put the proper IP address into the ifreq,
  to obtain correct netmask in case of interface with multiple aliases.
- While here, remove a comment with a bad idea.

PR: bin/42120
Submitted by: Dmitry Frolov <frolov riss-telecom.ru>

17 years agoPoint users to ndisgen(8) over directly interacting with ndiscvt(8) as the
trhodes [Fri, 13 Oct 2006 11:30:07 +0000 (11:30 +0000)]
Point users to ndisgen(8) over directly interacting with ndiscvt(8) as the
former is easier to use.

PR: 97231

17 years agoMFV.
ru [Fri, 13 Oct 2006 10:03:23 +0000 (10:03 +0000)]
MFV.

17 years agoThis commit was generated by cvs2svn to compensate for changes in r163299,
ru [Fri, 13 Oct 2006 10:00:49 +0000 (10:00 +0000)]
This commit was generated by cvs2svn to compensate for changes in r163299,
which included commits to RCS files with non-trunk default branches.

17 years agoNew timezone data.
ru [Fri, 13 Oct 2006 10:00:49 +0000 (10:00 +0000)]
New timezone data.

Obtained from: ftp://elsie.nci.nih.gov/pub/tzdata2006n.tar.gz

17 years agoAttempt to fix the sun4v tinderbox build (which unhelpfully doesn't
jb [Fri, 13 Oct 2006 09:55:17 +0000 (09:55 +0000)]
Attempt to fix the sun4v tinderbox build (which unhelpfully doesn't
report errors -- just warnings).

Submitted by: ru@

17 years agoFix result of some mechanical change that I did some time ago, when
glebius [Fri, 13 Oct 2006 09:11:12 +0000 (09:11 +0000)]
Fix result of some mechanical change that I did some time ago, when
writing this node.

17 years agoRemove one of the duplicate 'device nmdm' lines.
jb [Fri, 13 Oct 2006 09:05:44 +0000 (09:05 +0000)]
Remove one of the duplicate 'device nmdm' lines.

Noticed in the sun4v tinderbox log.

17 years agoAdd netgroup(5) to SEE ALSO.
joel [Fri, 13 Oct 2006 09:02:59 +0000 (09:02 +0000)]
Add netgroup(5) to SEE ALSO.

PR: docs/84764
Submitted by: garys

17 years agoFix console and update to new api.
kmacy [Fri, 13 Oct 2006 06:45:50 +0000 (06:45 +0000)]
Fix console and update to new api.
The style changes are required as a result of the CONSOLE_DRIVER macro.

Approved by: rwatson (mentor)

17 years agoDeal with two more references to non-existing ndisapi(9).
ru [Fri, 13 Oct 2006 06:24:53 +0000 (06:24 +0000)]
Deal with two more references to non-existing ndisapi(9).

17 years agoFix some whitespace
scottl [Fri, 13 Oct 2006 05:18:03 +0000 (05:18 +0000)]
Fix some whitespace

17 years agoAttempt to fix the GENERIC kernel build which has been failing on
jb [Fri, 13 Oct 2006 04:53:22 +0000 (04:53 +0000)]
Attempt to fix the GENERIC kernel build which has been failing on
tinderbox for a couple of days.

17 years agoKill reference to ndisapi.9 here as well, it doesn't exist.
trhodes [Fri, 13 Oct 2006 03:54:22 +0000 (03:54 +0000)]
Kill reference to ndisapi.9 here as well, it doesn't exist.

PR: 82114

17 years agoAt least one argument is required.
ru [Thu, 12 Oct 2006 21:10:55 +0000 (21:10 +0000)]
At least one argument is required.

17 years agoUse normal parentheses.
ru [Thu, 12 Oct 2006 20:50:26 +0000 (20:50 +0000)]
Use normal parentheses.

PR: docs/84549
Submitted by: Gary W. Swearingen
MFC after: 3 days

17 years agoFix utility's short description.
ru [Thu, 12 Oct 2006 20:29:20 +0000 (20:29 +0000)]
Fix utility's short description.

PR: docs/84467
Submitted by: Gary W. Swearingen
MFC after: 3 days

17 years agoMake "dump /filesystem" (without options) work.
ru [Thu, 12 Oct 2006 20:22:31 +0000 (20:22 +0000)]
Make "dump /filesystem" (without options) work.

PR: docs/84408
MFC after: 3 days

17 years agoDon't build the libgcc with functions already included in the libc to
cognet [Thu, 12 Oct 2006 16:43:15 +0000 (16:43 +0000)]
Don't build the libgcc with functions already included in the libc to
unbreak the build.
We'll switch back to the libgcc functions and get rid of the libsoftfloat
later.

17 years agoipmi_polled_enqueue_request() is already called with the lock held, just
jhb [Thu, 12 Oct 2006 16:26:42 +0000 (16:26 +0000)]
ipmi_polled_enqueue_request() is already called with the lock held, just
assert it rather than recursing.

Reported by: mjacob
Pointy hat: jhb
MFC after: 3 days

17 years agoRemove a debugging statement from the previous commit.
harti [Thu, 12 Oct 2006 15:44:51 +0000 (15:44 +0000)]
Remove a debugging statement from the previous commit.

17 years ago- Fix support for ASUS U5F laptop. This laptop (and possibly others)
ariff [Thu, 12 Oct 2006 15:37:43 +0000 (15:37 +0000)]
- Fix support for ASUS U5F laptop. This laptop (and possibly others)
  need a special inverted EAPD quirk.
- Add "eapdinv" config for future testing purposes.

Tested by: Yuriy Tsibizov <Yuriy.Tsibizov@gfk.ru>
           #freebsd-azalia @ irc.freenode.net

17 years agoDon't free the buffer with the sysctl value before printing it.
harti [Thu, 12 Oct 2006 15:31:23 +0000 (15:31 +0000)]
Don't free the buffer with the sysctl value before printing it.

17 years agoDon't say "rightmost" when referring to the least significant bit.
ru [Thu, 12 Oct 2006 15:08:41 +0000 (15:08 +0000)]
Don't say "rightmost" when referring to the least significant bit.

PR: docs/94803
MFC after: 3 days

17 years agoThe pam_unix module also provides password management.
ru [Thu, 12 Oct 2006 15:00:17 +0000 (15:00 +0000)]
The pam_unix module also provides password management.

PR: docs/93491
Submitted by: Lior Kadosh
MFC after: 3 days

17 years agoMention the -L option of dump(8) that can neutralize negative
ru [Thu, 12 Oct 2006 14:47:20 +0000 (14:47 +0000)]
Mention the -L option of dump(8) that can neutralize negative
effects of restoring dumps of live file systems.

PR: docs/91297

17 years agoMore accurately document the implementation details of internal storage.
ru [Thu, 12 Oct 2006 14:31:17 +0000 (14:31 +0000)]
More accurately document the implementation details of internal storage.

PR: docs/82508

17 years agoLink select(2) to FD_CLR(3), FD_ISSET(3), FD_SET(3), and FD_ZERO(3).
ru [Thu, 12 Oct 2006 13:46:33 +0000 (13:46 +0000)]
Link select(2) to FD_CLR(3), FD_ISSET(3), FD_SET(3), and FD_ZERO(3).

PR: docs/57974
MFC after: 3 days

17 years agoDocument S_IRWXU and permission bits for group/other.
ru [Thu, 12 Oct 2006 13:35:07 +0000 (13:35 +0000)]
Document S_IRWXU and permission bits for group/other.

PR: docs/57153
MFC after: 3 days

17 years agoFix manpage's SYNOPSIS and program's usage().
ru [Thu, 12 Oct 2006 13:01:34 +0000 (13:01 +0000)]
Fix manpage's SYNOPSIS and program's usage().
XXX: some options are still left undocumented.

PR: docs/43861

17 years agoFix nodevice atpic compile.
jhb [Thu, 12 Oct 2006 12:48:21 +0000 (12:48 +0000)]
Fix nodevice atpic compile.

Pointy hat to: jhb

17 years agoDocument what "msgsz" argument really denotes. [1]
ru [Thu, 12 Oct 2006 11:42:41 +0000 (11:42 +0000)]
Document what "msgsz" argument really denotes.  [1]

Don't say that "msgsz" can be less than 0, it cannot
as it's unsigned (POSIX has the same bug).

PR: docs/101145 [1]
MFC after: 3 days

17 years agoSaint George replaced Saint Edward as the patron Saint of England
ceri [Thu, 12 Oct 2006 11:08:29 +0000 (11:08 +0000)]
Saint George replaced Saint Edward as the patron Saint of England
somewhere around 1348.

The revision log doesn't seem to go back quite that far, but I assume
that the update to this file was forgotten in the celebrations.

While, here, note which countries the other UK patron Saints hold
patronage of.

Sources include http://www.novareinna.com/festive/georgeday.html and
http://www.newadvent.org/cathen/

17 years agoMemory utilization subscreen in "vmstat" display lists numbers in KB,
ru [Thu, 12 Oct 2006 10:54:34 +0000 (10:54 +0000)]
Memory utilization subscreen in "vmstat" display lists numbers in KB,
not in number of pages.

PR: docs/71690
Submitted by: Jan Srzednicki

(A patch is only partially merged, the rest was already fixed by bde@
in rev. 1.51.)

17 years ago- Improve description of the -A option.
ru [Thu, 12 Oct 2006 10:08:52 +0000 (10:08 +0000)]
- Improve description of the -A option.
- Document how whiteouts look in the long output. [1]
- Sort entry types.
- Fix description of the socket type.

PR: docs/51921 [1]

17 years agoNote that the value from getenv() should not be modified by applications.
trhodes [Thu, 12 Oct 2006 08:39:24 +0000 (08:39 +0000)]
Note that the value from getenv() should not be modified by applications.

PR: 60544
Reviewed by: ru

17 years agoThis won't be needed. There is already userland infrastructure for fpu emulation
kmacy [Thu, 12 Oct 2006 06:00:34 +0000 (06:00 +0000)]
This won't be needed. There is already userland infrastructure for fpu emulation
for sparc64.

17 years agoThe T2000 has multiple PCI domains requiring bus allocation to be done differently.
kmacy [Thu, 12 Oct 2006 04:44:01 +0000 (04:44 +0000)]
The T2000 has multiple PCI domains requiring bus allocation to be done differently.
This pulls in changes by jmg from perforce and makes them sun4v only for now.

Approved by: scottl (acting as backup for mentor rwatson)

17 years agosun4v requires TSBs (translation storage buffers) to be contiguous and be
kmacy [Thu, 12 Oct 2006 04:41:39 +0000 (04:41 +0000)]
sun4v requires TSBs (translation storage buffers) to be contiguous and be
size aligned requiring heavy usage of vm_page_alloc_contig

This change makes vm_page_alloc_contig SMP safe

Approved by: scottl (acting as backup for mentor rwatson)

17 years agofix bus error in newsyslog by making sure that fields in struct fpemu
kmacy [Thu, 12 Oct 2006 04:38:41 +0000 (04:38 +0000)]
fix bus error in newsyslog by making sure that fields in struct fpemu
that are accessed as 8 byte quantities are 8 byte aligned

17 years agoFix support for IBM/Lenovo Thinkcentre M52 series. Its vendorid / 0x1014
ariff [Thu, 12 Oct 2006 04:19:37 +0000 (04:19 +0000)]
Fix support for IBM/Lenovo Thinkcentre M52 series. Its vendorid / 0x1014
accidentally match with HP vendorid / 0x103c.

Reported by: Robert Noland <rnoland@2hip.net>

17 years agoRemove redundant casts. The casts inside the macros should be
imp [Thu, 12 Oct 2006 03:05:45 +0000 (03:05 +0000)]
Remove redundant casts.  The casts inside the macros should be
sufficient (or fixed if not).

17 years agoMark up keywords with .Cm.
trhodes [Thu, 12 Oct 2006 01:59:34 +0000 (01:59 +0000)]
Mark up keywords with .Cm.

PR: 95039
Sumitted by: SeaD (older version)
Reviewed by: ru

17 years agoMight as well move to the right place if we are not there.
julian [Wed, 11 Oct 2006 21:46:53 +0000 (21:46 +0000)]
Might as well move to the right place if we are not there.
The whole question of how much to rely on teh sources being in /usr/src
needs visiting.

17 years agolet the user know what configurations are available when asking for it.
julian [Wed, 11 Oct 2006 21:39:19 +0000 (21:39 +0000)]
let the user know what configurations are available when asking for it.

17 years agoSpell proc/sys/kernel/pid_max correctly in a comment.
keramida [Wed, 11 Oct 2006 20:32:46 +0000 (20:32 +0000)]
Spell proc/sys/kernel/pid_max correctly in a comment.

Submitted by: rdivacky

17 years agoFix a few nits with the last revision
thompsa [Wed, 11 Oct 2006 18:26:04 +0000 (18:26 +0000)]
Fix a few nits with the last revision
 - bump document date
 - fix punctuation and whitespace

Pointed out by: bmah

17 years agoRecognize 802.1q frames in Ethernet input and process them.
glebius [Wed, 11 Oct 2006 15:27:13 +0000 (15:27 +0000)]
Recognize 802.1q frames in Ethernet input and process them.

PR: kern/101162
Submitted by: CoolDavid (Tseng Guo-Fu) <cooldavid cdpa.nsysu.edu.tw>

17 years agoImprove ktr(4) logging for callout(9) subsystem. Log all inserts and
glebius [Wed, 11 Oct 2006 14:57:03 +0000 (14:57 +0000)]
Improve ktr(4) logging for callout(9) subsystem. Log all inserts and
removals, including failures, into the callwheel.

XXX: Most of the CTR() macros are called with callout_lock spin mutex
held, thus won't be logged into file, if KTR_ALQ is used. Moving the
CTR() macros out from the spinlocked code would require copying of all
arguments. I'm too lazy to do this.

17 years agoDocument '-w' from main.c rev. 1.11.
obrien [Wed, 11 Oct 2006 14:42:43 +0000 (14:42 +0000)]
Document '-w' from main.c rev. 1.11.

17 years agoDo not leak hooks in ng_bypass().
glebius [Wed, 11 Oct 2006 14:33:08 +0000 (14:33 +0000)]
Do not leak hooks in ng_bypass().

Submitted by: Alexander Motin <mav alkar.net>

17 years agoo Follow the trend and try to explain what the slow device is.
maxim [Wed, 11 Oct 2006 13:33:02 +0000 (13:33 +0000)]
o Follow the trend and try to explain what the slow device is.
Not ideal but better than nothing.

Obtained from: OpenBSD, NetBSD

17 years agoMake it buildable.
glebius [Wed, 11 Oct 2006 13:28:37 +0000 (13:28 +0000)]
Make it buildable.

17 years agoUnbreak a short one.
glebius [Wed, 11 Oct 2006 12:39:21 +0000 (12:39 +0000)]
Unbreak a short one.

Submitted by: maxim