]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
20 years agoDocument /var/run/dmesg.boot, which is created by the rc scripts. Many
Warner Losh [Sat, 3 Jul 2004 21:01:18 +0000 (21:01 +0000)]
Document /var/run/dmesg.boot, which is created by the rc scripts.  Many
people have suggested that we document this somewhere, and this was a common
suggestion.

20 years agoThese don't need RMAN_RESOURCE_VISIBLE now that rman is visible
Warner Losh [Sat, 3 Jul 2004 20:56:16 +0000 (20:56 +0000)]
These don't need RMAN_RESOURCE_VISIBLE now that rman is visible

20 years agoReally remove __RMAN_RESORUCE_VISIBLE
Warner Losh [Sat, 3 Jul 2004 20:49:00 +0000 (20:49 +0000)]
Really remove __RMAN_RESORUCE_VISIBLE

20 years agoUse the rman_* functions in preference to reaching into struct resource.
Warner Losh [Sat, 3 Jul 2004 20:48:01 +0000 (20:48 +0000)]
Use the rman_* functions in preference to reaching into struct resource.
Remove __RMAN_RESOURCE_VISIBLE after compilation confirms it is now not
needed.

20 years agoDon't define __RMAN_RESOURCE_VISISBLE. They aren't needed here after
Warner Losh [Sat, 3 Jul 2004 20:11:49 +0000 (20:11 +0000)]
Don't define __RMAN_RESOURCE_VISISBLE.  They aren't needed here after
I've converted the direct accessing of struct resource members to the
preferred interface.

20 years agoRemove stale comment
Poul-Henning Kamp [Sat, 3 Jul 2004 19:37:06 +0000 (19:37 +0000)]
Remove stale comment

20 years agoChange M_WAITOK argument to sodupsockaddr() to M_NOWAIT. When the call
Robert Watson [Sat, 3 Jul 2004 19:17:06 +0000 (19:17 +0000)]
Change M_WAITOK argument to sodupsockaddr() to M_NOWAIT.  When the call
to dup_sockaddr() was renamed to sodupsockaddr(), the argument was
changed from '1' to 'M_WAITOK', which changed the semantics.  This
resulted in a WITNESS warning about a potential sleep while holding the
NFS server mutex.  Now this will no longer happen, restoring a possible
bug present in the original code (setting RC_NAM even though the malloc
to copy the addres may fail).  bde observes that the flag names here
should probably not be the same as the malloc flags for name space
reasons.

Bumped into by: kuriyama

20 years agoEliminated double whitespace.
Ruslan Ermilov [Sat, 3 Jul 2004 18:35:53 +0000 (18:35 +0000)]
Eliminated double whitespace.

20 years agoMechanically kill hard sentence breaks and double whitespaces.
Ruslan Ermilov [Sat, 3 Jul 2004 18:29:24 +0000 (18:29 +0000)]
Mechanically kill hard sentence breaks and double whitespaces.

20 years agoCommit the first of half of changes that allow busdma to transparently
Scott Long [Sat, 3 Jul 2004 18:18:36 +0000 (18:18 +0000)]
Commit the first of half of changes that allow busdma to transparently
honor the alignment and boundary constraints in the dma tag when loading
buffers.  Previously, these constraints were only honored when allocating
memory via bus_dmamem_alloc().  Now, bus_dmamap_load() will automatically
use bounce buffers when needed.

Also add a set of sysctls to monitor the global busdma stats.  These are:

hw.busdma.free_bpages
hw.busdma.reserved_bpages
hw.busdma.active_bpages
hw.busdma.total_bpages
hw.busdma.total_bounced
hw.busdma.total_deferred

20 years agoLimit mbuma damage. Suddenly ALL allocations with M_WAITOK are subject
Brian Feldman [Sat, 3 Jul 2004 18:11:41 +0000 (18:11 +0000)]
Limit mbuma damage.  Suddenly ALL allocations with M_WAITOK are subject
to failing -- that is, allocations via malloc(M_WAITOK) that are required
to never fail -- if WITNESS is not defined.  While everyone should be
running WITNESS, in any case, zone "Mbuf" allocations are really the only
ones that should be screwed with by this hack.

This hack is crashing people, and would continue to do so with or without
WITNESS.  Things shouldn't be allocating with M_WAITOK with locks held,
but it's not okay just to always remove M_WAITOK when !WITNESS.

Reported by: Bernd Walter <ticso@cicely5.cicely.de>

20 years agoAdd NULL arg to mi_switch() call to stop kernel compiles from breaking.
Poul-Henning Kamp [Sat, 3 Jul 2004 16:57:51 +0000 (16:57 +0000)]
Add NULL arg to mi_switch() call to stop kernel compiles from breaking.

20 years agoRemove "register" keyword and trailing white space.
Poul-Henning Kamp [Sat, 3 Jul 2004 16:56:45 +0000 (16:56 +0000)]
Remove "register" keyword and trailing white space.

20 years agoUse C99 conforming designated initialisers rather than the obsolete GCC syntax.
Stefan Farfeleder [Sat, 3 Jul 2004 16:52:57 +0000 (16:52 +0000)]
Use C99 conforming designated initialisers rather than the obsolete GCC syntax.

20 years agoBy popular request, add a workaround that allows large (>128GB or so)
Tim J. Robbins [Sat, 3 Jul 2004 13:22:38 +0000 (13:22 +0000)]
By popular request, add a workaround that allows large (>128GB or so)
FAT32 filesystems to be mounted, subject to some fairly serious limitations.

This works by extending the internal pseudo-inode-numbers generated from
the file's starting cluster number to 64-bits, then creating a table
mapping these into arbitrary 32-bit inode numbers, which can fit in
struct dirent's d_fileno and struct vattr's va_fileid fields. The mappings
do not persist across unmounts or reboots, so it's not possible to export
these filesystems through NFS. The mapping table may grow to be rather
large, and may grow large enough to exhaust kernel memory on filesystems
with millions of files.

Don't enable this option unless you understand the consequences.

20 years agoThe -O2 bugs are in libalias(3), not ppp(8).
Dag-Erling Smørgrav [Sat, 3 Jul 2004 09:41:58 +0000 (09:41 +0000)]
The -O2 bugs are in libalias(3), not ppp(8).

20 years agoAdd FreeBSD-SA-04:13.linux and the device.hints related
Josef El-Rayes [Sat, 3 Jul 2004 08:45:20 +0000 (08:45 +0000)]
Add  FreeBSD-SA-04:13.linux and the device.hints related
expansion of pcm(4).

20 years agoGrammar nits.
Pawel Jakub Dawidek [Sat, 3 Jul 2004 08:36:09 +0000 (08:36 +0000)]
Grammar nits.

Submitted by: David Magda <dmagda@ee.ryerson.ca>

20 years agoFix a markup nit and a misplaced full stop in previous.
Tim J. Robbins [Sat, 3 Jul 2004 07:07:11 +0000 (07:07 +0000)]
Fix a markup nit and a misplaced full stop in previous.

Noticed by: ru

20 years agoSMPng locking cleanup for vr(4).
Bruce M Simpson [Sat, 3 Jul 2004 02:59:02 +0000 (02:59 +0000)]
SMPng locking cleanup for vr(4).
 - Remove recursive locking situations. Remove the MTX_RECURSE bit.
 - Take the lock for any routine which is not called from within if_vr.c
   itself; this includes entry points called by newbus, ifnet, callout,
   ifmedia, and polling subsystems.
 - Remove spl references from the code added to miibus callbacks in rev 1.60.
 - Add the INTR_MPSAFE bit.
 - Tidy up some assignments; locks are not needed for taking the address
   of something at a known offset, for example.
 - Tested on the machine this was committed from.

Tested on: UP only, !debug.mpsafenet && debug.mpsafenet
Reviewed by: rwatson

20 years ago - Another whitespace pass; make locking calls more obvious.
Bruce M Simpson [Sat, 3 Jul 2004 02:52:32 +0000 (02:52 +0000)]
 - Another whitespace pass; make locking calls more obvious.
 - Use C99 types for vr_miibus_readreg().

20 years agoAdd a NULL param to an mi_switch() that I missed.
John Baldwin [Sat, 3 Jul 2004 02:38:03 +0000 (02:38 +0000)]
Add a NULL param to an mi_switch() that I missed.

Reported by: Jung-uk Kim jkim at niksun dot com

20 years agoUpdate for coreutils.
Tim J. Robbins [Sat, 3 Jul 2004 02:37:42 +0000 (02:37 +0000)]
Update for coreutils.

20 years agoUnbreak -O2 build: initialize nstatus to avoid uninitialized warning.
Marcel Moolenaar [Sat, 3 Jul 2004 02:10:52 +0000 (02:10 +0000)]
Unbreak -O2 build: initialize nstatus to avoid uninitialized warning.

20 years agoDocument missing multibyte character handling in utilities specified
Tim J. Robbins [Sat, 3 Jul 2004 02:03:44 +0000 (02:03 +0000)]
Document missing multibyte character handling in utilities specified
by POSIX.

20 years agoClarify: test compares strings by binary value, not "ASCII value".
Tim J. Robbins [Sat, 3 Jul 2004 01:49:17 +0000 (01:49 +0000)]
Clarify: test compares strings by binary value, not "ASCII value".

20 years agoDocument missing multibyte character support in utilities specified
Tim J. Robbins [Sat, 3 Jul 2004 01:28:21 +0000 (01:28 +0000)]
Document missing multibyte character support in utilities specified
by POSIX.

20 years agoFix SCHED_ULE build on SMP. The previous revision (1.110)
Bosko Milekic [Sat, 3 Jul 2004 01:19:46 +0000 (01:19 +0000)]
Fix SCHED_ULE build on SMP.  The previous revision (1.110)
introduced a KSE_CAN_MIGRATE() invocation with one argument
missing (class).  Either this is a genuine forget or it crept
in from JHB's repo where he may have modified it.  If it's
the latter then it may require more attention.  For now fix
the make depend.

20 years agoRe-add half of UCB copyright notice that went missing in 1.20.
Tim J. Robbins [Sat, 3 Jul 2004 01:08:03 +0000 (01:08 +0000)]
Re-add half of UCB copyright notice that went missing in 1.20.

20 years agoUnbreak build for the the !PREEMPTION case: don't define variables
Marcel Moolenaar [Sat, 3 Jul 2004 00:57:43 +0000 (00:57 +0000)]
Unbreak build for the the !PREEMPTION case: don't define variables
that aren't used in that case.

20 years agoDeal with double whitespace.
Ruslan Ermilov [Sat, 3 Jul 2004 00:24:45 +0000 (00:24 +0000)]
Deal with double whitespace.

20 years agoDeal with double whitespace.
Ruslan Ermilov [Sat, 3 Jul 2004 00:13:43 +0000 (00:13 +0000)]
Deal with double whitespace.

20 years agoDeal with double whitespace.
Ruslan Ermilov [Sat, 3 Jul 2004 00:06:28 +0000 (00:06 +0000)]
Deal with double whitespace.

20 years agoMechanically kill hard sentence breaks.
Ruslan Ermilov [Fri, 2 Jul 2004 23:52:20 +0000 (23:52 +0000)]
Mechanically kill hard sentence breaks.

20 years agostyle(9) compliance.
Bruce M Simpson [Fri, 2 Jul 2004 23:51:44 +0000 (23:51 +0000)]
style(9) compliance.
Put some braces around the busy-wait loop in vr_rxeoc() to make the
no-op semicolon more obvious.
No functional changes.
Running on the machine I am committing from without problems.

Reviewed by: jmallett

20 years agoAdd support for multibyte characters.
Tim J. Robbins [Fri, 2 Jul 2004 23:43:05 +0000 (23:43 +0000)]
Add support for multibyte characters.

20 years agoFollow previous change in makecontext. Use %esi to store next ucp
David Xu [Fri, 2 Jul 2004 23:20:05 +0000 (23:20 +0000)]
Follow previous change in makecontext. Use %esi to store next ucp
pointer, here we keep orignal %ebp, so we can see where signal handler
comes in and interrupt normal code.

20 years agoMechanically kill hard sentence breaks.
Ruslan Ermilov [Fri, 2 Jul 2004 23:13:00 +0000 (23:13 +0000)]
Mechanically kill hard sentence breaks.

20 years agoDocument the -i option as being a non-standard extension.
Tim J. Robbins [Fri, 2 Jul 2004 22:56:14 +0000 (22:56 +0000)]
Document the -i option as being a non-standard extension.

20 years agoFixed SEE ALSO references.
Ruslan Ermilov [Fri, 2 Jul 2004 22:50:25 +0000 (22:50 +0000)]
Fixed SEE ALSO references.

20 years agoAdd support for multibyte characters.
Tim J. Robbins [Fri, 2 Jul 2004 22:48:29 +0000 (22:48 +0000)]
Add support for multibyte characters.

20 years agoithread_schedule() now only takes one argument.
Olivier Houchard [Fri, 2 Jul 2004 22:30:42 +0000 (22:30 +0000)]
ithread_schedule() now only takes one argument.

20 years agoDefine __RMAN_RESOURCE_VISIBLE where appropriate.
Olivier Houchard [Fri, 2 Jul 2004 22:30:10 +0000 (22:30 +0000)]
Define __RMAN_RESOURCE_VISIBLE where appropriate.

20 years agoNit.
Ruslan Ermilov [Fri, 2 Jul 2004 22:25:40 +0000 (22:25 +0000)]
Nit.

20 years agoFix after rev. 1.24 changes: bump document date, and remove -c
Ruslan Ermilov [Fri, 2 Jul 2004 22:24:53 +0000 (22:24 +0000)]
Fix after rev. 1.24 changes: bump document date, and remove -c
from SYNOPSIS.

20 years agoMechanically kill hard sentence breaks.
Ruslan Ermilov [Fri, 2 Jul 2004 22:22:35 +0000 (22:22 +0000)]
Mechanically kill hard sentence breaks.

20 years agoMechanically kill hard sentence breaks.
Ruslan Ermilov [Fri, 2 Jul 2004 21:53:39 +0000 (21:53 +0000)]
Mechanically kill hard sentence breaks.

20 years agoFixed what appeared to be a hard sentence break.
Ruslan Ermilov [Fri, 2 Jul 2004 21:49:22 +0000 (21:49 +0000)]
Fixed what appeared to be a hard sentence break.

20 years agoMechanically kill hard sentence breaks.
Ruslan Ermilov [Fri, 2 Jul 2004 21:45:06 +0000 (21:45 +0000)]
Mechanically kill hard sentence breaks.

20 years agoMechanically kill hard sentence breaks.
Ruslan Ermilov [Fri, 2 Jul 2004 21:28:50 +0000 (21:28 +0000)]
Mechanically kill hard sentence breaks.

20 years agoMechanically kill hard sentence breaks.
Ruslan Ermilov [Fri, 2 Jul 2004 21:16:38 +0000 (21:16 +0000)]
Mechanically kill hard sentence breaks.

20 years agomdoc(7): Correct the type of the display.
Ruslan Ermilov [Fri, 2 Jul 2004 21:15:48 +0000 (21:15 +0000)]
mdoc(7): Correct the type of the display.

20 years agoMechanically kill hard sentence breaks.
Ruslan Ermilov [Fri, 2 Jul 2004 21:04:19 +0000 (21:04 +0000)]
Mechanically kill hard sentence breaks.

20 years agoNew release notes:
Hiroki Sato [Fri, 2 Jul 2004 20:49:56 +0000 (20:49 +0000)]
New release notes:
GEOM_LABEL added,
top(1) -m io,
ACPI-CA 20040527 import, and
GNU sort coreutils 5.2.1 import.

Typo fixes:
s/ethernet/Ethernet/.

20 years agoEnable testing of customized variants of bsd.port.mk and
Oliver Eikemeier [Fri, 2 Jul 2004 20:47:18 +0000 (20:47 +0000)]
Enable testing of customized variants of bsd.port.mk and
bsd.port.subdir.mk, without the overhead of an additional ports tree.

Use
  make BSDPORTMK='${PORTSDIR}/My.Mk/bsd.port.mk' target
and
  make BSDPORTSUBDIRMK='${PORTSDIR}/My.Mk/bsd.port.subdir.mk' target

to build with the alternate versions.

MFC after: 3 days

20 years agoImplement preemption of kernel threads natively in the scheduler rather
John Baldwin [Fri, 2 Jul 2004 20:21:44 +0000 (20:21 +0000)]
Implement preemption of kernel threads natively in the scheduler rather
than as one-off hacks in various other parts of the kernel:
- Add a function maybe_preempt() that is called from sched_add() to
  determine if a thread about to be added to a run queue should be
  preempted to directly.  If it is not safe to preempt or if the new
  thread does not have a high enough priority, then the function returns
  false and sched_add() adds the thread to the run queue.  If the thread
  should be preempted to but the current thread is in a nested critical
  section, then the flag TDF_OWEPREEMPT is set and the thread is added
  to the run queue.  Otherwise, mi_switch() is called immediately and the
  thread is never added to the run queue since it is switch to directly.
  When exiting an outermost critical section, if TDF_OWEPREEMPT is set,
  then clear it and call mi_switch() to perform the deferred preemption.
- Remove explicit preemption from ithread_schedule() as calling
  setrunqueue() now does all the correct work.  This also removes the
  do_switch argument from ithread_schedule().
- Do not use the manual preemption code in mtx_unlock if the architecture
  supports native preemption.
- Don't call mi_switch() in a loop during shutdown to give ithreads a
  chance to run if the architecture supports native preemption since
  the ithreads will just preempt DELAY().
- Don't call mi_switch() from the page zeroing idle thread for
  architectures that support native preemption as it is unnecessary.
- Native preemption is enabled on the same archs that supported ithread
  preemption, namely alpha, i386, and amd64.

This change should largely be a NOP for the default case as committed
except that we will do fewer context switches in a few cases and will
avoid the run queues completely when preempting.

Approved by: scottl (with his re@ hat)

20 years agoRemove duplicate FreeBSD id.
Nate Lawson [Fri, 2 Jul 2004 20:15:53 +0000 (20:15 +0000)]
Remove duplicate FreeBSD id.

20 years agoDeal with unsafe tab characters.
Ruslan Ermilov [Fri, 2 Jul 2004 19:55:26 +0000 (19:55 +0000)]
Deal with unsafe tab characters.

20 years agoFixed comments.
Ruslan Ermilov [Fri, 2 Jul 2004 19:54:39 +0000 (19:54 +0000)]
Fixed comments.

20 years agoDon't announce the ethernet address when it's 00:00:00:00:00:00. It's
Brooks Davis [Fri, 2 Jul 2004 19:44:59 +0000 (19:44 +0000)]
Don't announce the ethernet address when it's 00:00:00:00:00:00.  It's
not of any interest.  This primairly happens when vlan(4) interfaces are
created.

20 years agoIntroduce GEOM_LABEL class.
Pawel Jakub Dawidek [Fri, 2 Jul 2004 19:40:36 +0000 (19:40 +0000)]
Introduce GEOM_LABEL class.
This class is used for detecting volume labels on file systems:
UFS, MSDOSFS (FAT12, FAT16, FAT32) and ISO9660.
It also provide native labelization (there is no need for file system).

g_label_ufs.c is based on geom_vol_ffs from Gordon Tetlow.
g_label_msdos.c and g_label_iso9660.c are probably hacks, I just found
where volume labels are stored and I use those offsets here,
but with this class it should be easy to do it as it should be done by
someone who know how.
Implementing volume labels detection for other file systems also should
be trivial.

New providers are created in those directories:
/dev/ufs/ (UFS1, UFS2)
/dev/msdosfs/ (FAT12, FAT16, FAT32)
/dev/iso9660/ (ISO9660)
/dev/label/ (native labels, configured with glabel(8))

Manual page cleanups and some comments inside were submitted by
Simon L. Nielsen, who was, as always, very helpful. Thanks!

20 years agomdoc(7): Fixed list types.
Ruslan Ermilov [Fri, 2 Jul 2004 19:37:24 +0000 (19:37 +0000)]
mdoc(7): Fixed list types.

20 years agoGet rid of the strict aliasing error by retrieving the ECDT via a table
Nate Lawson [Fri, 2 Jul 2004 19:17:27 +0000 (19:17 +0000)]
Get rid of the strict aliasing error by retrieving the ECDT via a table
header pointer and then casting it to the ecdt pointer.  This fixes the
-O2 build.  I'm unsure what changed recently to reveal this error since
this code has been unchanged for months.

20 years ago- Change mi_switch() and sched_switch() to accept an optional thread to
John Baldwin [Fri, 2 Jul 2004 19:09:50 +0000 (19:09 +0000)]
- Change mi_switch() and sched_switch() to accept an optional thread to
  switch to.  If a non-NULL thread pointer is passed in, then the CPU will
  switch to that thread directly rather than calling choosethread() to pick
  a thread to choose to.
- Make sched_switch() aware of idle threads and know to do
  TD_SET_CAN_RUN() instead of sticking them on the run queue rather than
  requiring all callers of mi_switch() to know to do this if they can be
  called from an idlethread.
- Move constants for arguments to mi_switch() and thread_single() out of
  the middle of the function prototypes and up above into their own
  section.

20 years agoRemoved trailing whitespace.
Ruslan Ermilov [Fri, 2 Jul 2004 19:07:33 +0000 (19:07 +0000)]
Removed trailing whitespace.

20 years agoBump up the date and add spaces around commas. Thanks to ru@ for noticing.
Arun Sharma [Fri, 2 Jul 2004 18:39:15 +0000 (18:39 +0000)]
Bump up the date and add spaces around commas. Thanks to ru@ for noticing.

20 years agoDeal with harmful leading whitespace.
Ruslan Ermilov [Fri, 2 Jul 2004 18:37:52 +0000 (18:37 +0000)]
Deal with harmful leading whitespace.

20 years agoFix the '\' next to lshift for users of Belgian keyboards.
Philip Paeps [Fri, 2 Jul 2004 18:19:01 +0000 (18:19 +0000)]
Fix the '\' next to lshift for users of Belgian keyboards.

Submitted by: Glenn Matthys <glenn@opengate.be>
Approved by: njl

20 years agoFixed spelling of the document date.
Ruslan Ermilov [Fri, 2 Jul 2004 18:00:03 +0000 (18:00 +0000)]
Fixed spelling of the document date.

20 years agoExplain that -O2 is supported, but known to expose bugs in ppp(8).
Dag-Erling Smørgrav [Fri, 2 Jul 2004 17:08:39 +0000 (17:08 +0000)]
Explain that -O2 is supported, but known to expose bugs in ppp(8).

20 years agoWe support -O2 now.
Dag-Erling Smørgrav [Fri, 2 Jul 2004 17:06:19 +0000 (17:06 +0000)]
We support -O2 now.

20 years agoMarkup tidying.
Ruslan Ermilov [Fri, 2 Jul 2004 16:45:56 +0000 (16:45 +0000)]
Markup tidying.

20 years agoBump document date on behalf of the previous change.
Ruslan Ermilov [Fri, 2 Jul 2004 16:19:28 +0000 (16:19 +0000)]
Bump document date on behalf of the previous change.

20 years agoSmall grammar fix.
Scott Long [Fri, 2 Jul 2004 15:52:44 +0000 (15:52 +0000)]
Small grammar fix.

20 years agoDocument net.inet.ip.process_options sysctl.
Maxim Konovalov [Fri, 2 Jul 2004 15:47:47 +0000 (15:47 +0000)]
Document net.inet.ip.process_options sysctl.

Improved by: ru
Reviewed by: andre

20 years agoImplement SNDCTL_DSP_SETDUPLEX. This may fix sound apps which want to
Alexander Leidinger [Fri, 2 Jul 2004 15:31:44 +0000 (15:31 +0000)]
Implement SNDCTL_DSP_SETDUPLEX. This may fix sound apps which want to
use full duplex mode.

Approved by: matk

20 years agoUse %esi to store next ucp pointer. Mark end of stack by
David Xu [Fri, 2 Jul 2004 14:19:44 +0000 (14:19 +0000)]
Use %esi to store next ucp pointer. Mark end of stack by
setting %ebp to zero, this avoids new gdb to dump a weird
backtrace.

20 years agoDisable native ata support for now, too much breaks
Warner Losh [Fri, 2 Jul 2004 13:42:36 +0000 (13:42 +0000)]
Disable native ata support for now, too much breaks

20 years agoFix <small> tags
Denis Peplin [Fri, 2 Jul 2004 13:13:20 +0000 (13:13 +0000)]
Fix <small> tags

20 years agomanlint
Oliver Eikemeier [Fri, 2 Jul 2004 12:34:13 +0000 (12:34 +0000)]
manlint

Obtained from: ru

20 years agoNew variable `.MAKEFILE_LIST', useful for tracing, debugging and dependency tracking.
Oliver Eikemeier [Fri, 2 Jul 2004 12:30:28 +0000 (12:30 +0000)]
New variable `.MAKEFILE_LIST', useful for tracing, debugging and dependency tracking.

Use
  make -V .MAKEFILE_LIST | tr \  \\n | awk '$0==".." {l--; next} {l++; printf "%*s%s\n", l, " ", $0}'
to print a tree of all included makefiles.

Approved by: joerg
MFC after: 1 week

20 years agoBring in the first chunk of altq driver modifications. This covers the
Max Laier [Fri, 2 Jul 2004 12:16:02 +0000 (12:16 +0000)]
Bring in the first chunk of altq driver modifications. This covers the
following drivers: bfe(4), em(4), fxp(4), lnc(4), tun(4), de(4) rl(4),
sis(4) and xl(4)

More patches are pending on: http://peoples.freebsd.org/~mlaier/ Please take
a look and tell me if "your" driver is missing, so I can fix this.

Tested-by: many
No-objection: -current, -net

20 years agoHook strnlen.c up to the build - the i18n patch uses it.
Tim J. Robbins [Fri, 2 Jul 2004 11:09:55 +0000 (11:09 +0000)]
Hook strnlen.c up to the build - the i18n patch uses it.

20 years agoAdd support for multi-byte character sets.
Tim J. Robbins [Fri, 2 Jul 2004 11:07:42 +0000 (11:07 +0000)]
Add support for multi-byte character sets.

Obtained from: Mitsuru Chinen (IBM) via The Fedora Project

20 years agoUpdate build infrastructure for sort from GNU coreutils 5.2.1.
Tim J. Robbins [Fri, 2 Jul 2004 09:34:37 +0000 (09:34 +0000)]
Update build infrastructure for sort from GNU coreutils 5.2.1.

20 years agoResolve conflicts.
Tim J. Robbins [Fri, 2 Jul 2004 09:27:09 +0000 (09:27 +0000)]
Resolve conflicts.

20 years agoAllow ptrace to deal with lwpid.
David Xu [Fri, 2 Jul 2004 09:19:22 +0000 (09:19 +0000)]
Allow ptrace to deal with lwpid.

Reviewed by: marcel

20 years agoThis commit was generated by cvs2svn to compensate for changes in r131447,
Tim J. Robbins [Fri, 2 Jul 2004 09:18:31 +0000 (09:18 +0000)]
This commit was generated by cvs2svn to compensate for changes in r131447,
which included commits to RCS files with non-trunk default branches.

20 years agoImport of GNU sort from coreutils 5.2.1 (trimmed)
Tim J. Robbins [Fri, 2 Jul 2004 09:18:31 +0000 (09:18 +0000)]
Import of GNU sort from coreutils 5.2.1 (trimmed)

20 years agoMarkup overhaul and minor word smithing.
Ruslan Ermilov [Fri, 2 Jul 2004 08:52:09 +0000 (08:52 +0000)]
Markup overhaul and minor word smithing.

20 years agoLocal change: Allow access to the field if it is within the region
Mark Santcroos [Fri, 2 Jul 2004 08:38:55 +0000 (08:38 +0000)]
Local change:  Allow access to the field if it is within the region
size rounded up to a multiple of the access byte width.  This overcomes
"off-by-one" programming errors in the AML often found in Toshiba
laptops.

20 years agoLocal diff: allow use of the disassembler.
Mark Santcroos [Fri, 2 Jul 2004 08:37:56 +0000 (08:37 +0000)]
Local diff: allow use of the disassembler.

20 years agoUnchanged files that are off the vendor branch.
Mark Santcroos [Fri, 2 Jul 2004 08:34:19 +0000 (08:34 +0000)]
Unchanged files that are off the vendor branch.

20 years agoThis commit was generated by cvs2svn to compensate for changes in r131440,
Mark Santcroos [Fri, 2 Jul 2004 08:14:36 +0000 (08:14 +0000)]
This commit was generated by cvs2svn to compensate for changes in r131440,
which included commits to RCS files with non-trunk default branches.

20 years agoVendor import of Intel ACPI-CA 20040527
Mark Santcroos [Fri, 2 Jul 2004 08:14:36 +0000 (08:14 +0000)]
Vendor import of Intel ACPI-CA 20040527

20 years agoWe allocate an array of pointers to the global file table while
Alfred Perlstein [Fri, 2 Jul 2004 07:40:10 +0000 (07:40 +0000)]
We allocate an array of pointers to the global file table while
not holding the filelist_lock.  This means the filelist can change
size while allocating.  Detect this race and retry the allocation.

20 years agoBring this manpage more up-to-date with the current code.
Ruslan Ermilov [Fri, 2 Jul 2004 06:05:04 +0000 (06:05 +0000)]
Bring this manpage more up-to-date with the current code.

Submitted by: Gleb Smirnoff
Reviewed by: julian, ru

20 years agoTidy up uprof locking. Mostly the fields are protected by both the proc
John Baldwin [Fri, 2 Jul 2004 03:50:48 +0000 (03:50 +0000)]
Tidy up uprof locking.  Mostly the fields are protected by both the proc
lock and sched_lock so they can be read with either lock held.  Document
the locking as well.  The one remaining bogosity is that pr_addr and
pr_ticks should be per-thread but profiling of multithreaded apps is
currently undefined.

20 years ago- Assert that any process that has statclock called on it has both a
John Baldwin [Fri, 2 Jul 2004 03:48:09 +0000 (03:48 +0000)]
- Assert that any process that has statclock called on it has both a
  stats structure and a vmspace as this should always be true rather
  than checking the always true condition in an if statement.
- Remove never-false check: if ((ru = &pstats->p_ru) != NULL)
- Remove pstats variable that is only used once and inline its one use
  instead.

20 years agoAllocate s/g segments in the tag rather than on the stack.
Scott Long [Fri, 2 Jul 2004 03:47:28 +0000 (03:47 +0000)]
Allocate s/g segments in the tag rather than on the stack.