Commit Graph

104395 Commits

Author SHA1 Message Date
ru
485e003d41 Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
tjr
87624c3002 Document the -i option as being a non-standard extension. 2004-07-02 22:56:14 +00:00
ru
a4a51c77d3 Fixed SEE ALSO references. 2004-07-02 22:50:25 +00:00
tjr
74356284e2 Add support for multibyte characters. 2004-07-02 22:48:29 +00:00
cognet
b5e6eb2e90 ithread_schedule() now only takes one argument. 2004-07-02 22:30:42 +00:00
cognet
e406752d9f Define __RMAN_RESOURCE_VISIBLE where appropriate. 2004-07-02 22:30:10 +00:00
ru
1c4cc9f836 Nit. 2004-07-02 22:25:40 +00:00
ru
92e41c867e Fix after rev. 1.24 changes: bump document date, and remove -c
from SYNOPSIS.
2004-07-02 22:24:53 +00:00
ru
1fd830331f Mechanically kill hard sentence breaks. 2004-07-02 22:22:35 +00:00
ru
4ef1bd55ad Mechanically kill hard sentence breaks. 2004-07-02 21:53:39 +00:00
ru
98509d17ed Fixed what appeared to be a hard sentence break. 2004-07-02 21:49:22 +00:00
ru
a80e8fe473 Mechanically kill hard sentence breaks. 2004-07-02 21:45:06 +00:00
ru
ca43275854 Mechanically kill hard sentence breaks. 2004-07-02 21:28:50 +00:00
ru
be04936ddf Mechanically kill hard sentence breaks. 2004-07-02 21:16:38 +00:00
ru
7b3aa77659 mdoc(7): Correct the type of the display. 2004-07-02 21:15:48 +00:00
ru
fcc6518a61 Mechanically kill hard sentence breaks. 2004-07-02 21:04:19 +00:00
hrs
a19b241f16 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/.
2004-07-02 20:49:56 +00:00
eik
724d427a09 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
2004-07-02 20:47:18 +00:00
jhb
f7ce13f6e0 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)
2004-07-02 20:21:44 +00:00
njl
e5947671c8 Remove duplicate FreeBSD id. 2004-07-02 20:15:53 +00:00
ru
08686cc430 Deal with unsafe tab characters. 2004-07-02 19:55:26 +00:00
ru
c4cc281775 Fixed comments. 2004-07-02 19:54:39 +00:00
brooks
5ac5094b81 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.
2004-07-02 19:44:59 +00:00
pjd
3ad94a6543 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!
2004-07-02 19:40:36 +00:00
ru
6792f32f23 mdoc(7): Fixed list types. 2004-07-02 19:37:24 +00:00
njl
f50bf96c2d 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.
2004-07-02 19:17:27 +00:00
jhb
01762a2745 - 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.
2004-07-02 19:09:50 +00:00
ru
685e85196c Removed trailing whitespace. 2004-07-02 19:07:33 +00:00
arun
64477062e6 Bump up the date and add spaces around commas. Thanks to ru@ for noticing. 2004-07-02 18:39:15 +00:00
ru
43c762c43d Deal with harmful leading whitespace. 2004-07-02 18:37:52 +00:00
philip
00421bb33d Fix the '\' next to lshift for users of Belgian keyboards.
Submitted by:	Glenn Matthys <glenn@opengate.be>
Approved by:	njl
2004-07-02 18:19:01 +00:00
ru
43a7a3bfbf Fixed spelling of the document date. 2004-07-02 18:00:03 +00:00
des
36f2cfc979 Explain that -O2 is supported, but known to expose bugs in ppp(8). 2004-07-02 17:08:39 +00:00
des
45ab6263b7 We support -O2 now. 2004-07-02 17:06:19 +00:00
ru
174df71461 Markup tidying. 2004-07-02 16:45:56 +00:00
ru
ead73daf78 Bump document date on behalf of the previous change. 2004-07-02 16:19:28 +00:00
scottl
3834c9a356 Small grammar fix. 2004-07-02 15:52:44 +00:00
maxim
223e30be89 Document net.inet.ip.process_options sysctl.
Improved by:	ru
Reviewed by:	andre
2004-07-02 15:47:47 +00:00
netchild
b4b7243fc6 Implement SNDCTL_DSP_SETDUPLEX. This may fix sound apps which want to
use full duplex mode.

Approved by:	matk
2004-07-02 15:31:44 +00:00
davidxu
afc93e3ac6 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.
2004-07-02 14:19:44 +00:00
imp
1250142324 Disable native ata support for now, too much breaks 2004-07-02 13:42:36 +00:00
den
db0044f5f9 Fix <small> tags 2004-07-02 13:13:20 +00:00
eik
2b6c5c26d3 manlint
Obtained from:	ru
2004-07-02 12:34:13 +00:00
eik
c81cc97bda 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
2004-07-02 12:30:28 +00:00
mlaier
c34a683385 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
2004-07-02 12:16:02 +00:00
tjr
b20a9fba2f Hook strnlen.c up to the build - the i18n patch uses it. 2004-07-02 11:09:55 +00:00
tjr
4fa1a0a7bc Add support for multi-byte character sets.
Obtained from:	Mitsuru Chinen (IBM) via The Fedora Project
2004-07-02 11:07:42 +00:00
tjr
6afaf951af Update build infrastructure for sort from GNU coreutils 5.2.1. 2004-07-02 09:34:37 +00:00
tjr
c52050c275 Resolve conflicts. 2004-07-02 09:27:09 +00:00
davidxu
b3774481bb Allow ptrace to deal with lwpid.
Reviewed by: marcel
2004-07-02 09:19:22 +00:00