Commit Graph

113281 Commits

Author SHA1 Message Date
alc
a81d71bdde The m_ext reference counts are potentially shared and modified
asynchronously by different threads.  Thus, declare as volatile the
reference count that is accessed through m_ext's pointer, ref_cnt.
Revert the previous change, revision 1.144, that casts as volatile a
single dereference of ref_cnt.

Reviewed by: bmilekic, dwhite
Problem reported by: kris
MFC after: 3 days
2005-03-06 20:09:00 +00:00
phk
ae2807f90d Always go to standby efter each call. 2005-03-06 19:43:12 +00:00
phk
bfda3d22fa Don't disable interrupts on a stray interrupt. 2005-03-06 19:42:32 +00:00
hrs
9604a4d65a New release notes:
atkbd(4) 0x08 flag,
	ipnat(8) redirect rule supports non-TCP/UDP packets, and
	sppp(4) MPSAFE.

Update release notes:
	pppd(8) incorrect CBCP response fix (MFC).
2005-03-06 19:08:51 +00:00
das
a263f09ca4 Fix a mistake in the exponent range. 2005-03-06 19:08:18 +00:00
hrs
4f76a8d7dc New release notes:
Beastie boot menu disabled,
	acpi(4) turns ACPI and PCI devices off or to a lower
	power state in suspend,
	acpi_ibm driver added,
	ed(4) ALTQ support,
	ipfw(4) ucred-based rules can be used with debug.mpsafenet=1,
	TCP-MD5 implementation in KAME IPv4 IPsec,
	ftpd(8) 212 and 213 status code support,
	gvinum checkparity/rebuildparity/setstate subcommand support,
	periodic(8) security report now includes blocked packet
	counts by pf(4),
	ppp(8) NAS-IP-Address/NAS-Identifier options,
	pppd(8) incorrect CBCP response fix, and
	rescue(8) now includes BSD tar.

Update release notes:
	rc.conf(5) network interface renaming support (MFC), and
	markup fix in the entry of systat(1) IPv6 support.
2005-03-06 18:01:05 +00:00
rushani
28fca89e2d s/AST/ARNET/ where appropriate. 2005-03-06 14:50:42 +00:00
stefanf
6f3297a743 Fix typos in a comment. 2005-03-06 13:53:05 +00:00
cognet
36e1c6cac0 Unlike NetBSD's bcopy(), our bcopy allows the two strings to overlap, even in
kernel. So bring in the userland version, instead of just calling memcpy.
2005-03-06 13:11:32 +00:00
nyan
e5e6b074be MFi386: revisions 1.609 and 1.610. 2005-03-06 12:59:59 +00:00
maxim
f58688c4a1 o s/opt_ifpw.h/opt_ipfw.h/ in the previous commit.
Submitted by:	YONETANI Tomokazu
2005-03-06 11:22:49 +00:00
njl
3525860172 Whitespace nit. Clarifies which body this line belongs to. 2005-03-06 10:17:30 +00:00
marcus
08440d6d16 Increase the default stacksizes:
32-bit		64-bit
main thread	2 MB		4 MB
other threads	1 MB		2 MB

Approved by:	mtm
Adapted from:	libpthread
2005-03-06 07:56:18 +00:00
imp
620860e7a0 Back out previous commit. The description didn't match the commit,
and marking this interrupt as fast isn't quite right.  It also needs
to be MP Safe, and I've not done that work (yet).
2005-03-06 06:59:15 +00:00
imp
004cb1509b Use BUS_PROBE_DEFAULT 2005-03-06 06:55:11 +00:00
mux
05398c2e32 Cleanup: u_intXX_t -> uintX_t conversion. 2005-03-06 05:07:26 +00:00
mux
6c94985636 Unbreak strsignal(). This is an MFC candidate.
Reported by:	Sean McNeil <sean@mcneil.com>
2005-03-06 03:19:19 +00:00
das
e33c016f43 Work around a gcc bug. This fixes feholdexcept() et al. at -O1.
Symptoms of the problem included assembler warnings and
nondeterministic runtime behavior when a fe*() call that affects the
fpsr is closely followed by a float point op.

The bug (at least, I think it's a bug) is that gcc does not insert a
break between a volatile asm and a dependent instruction if the
volatile asm came from an inlined function.  Volatile asms seem to be
fine in other circumstances, even without -mvolatile-asm-stop, so
perhaps the compiler adds the stop bits before inlining takes place.
The problem does not occur at -O0 because inlining is disabled, and it
doesn't happen at -O2 because -fschedule-insns2 knows better.
2005-03-05 20:34:45 +00:00
imp
75f1f91466 Use BUS_PROBE_DEFAULT for pci probe return value 2005-03-05 19:24:22 +00:00
imp
a9dd23fdd6 Use BUS_PROBE_DEFAULT for pci probe return value 2005-03-05 19:06:12 +00:00
des
60dd9e0109 MFi386: use TUNABLE_ULONG_FETCH to retrieve hw.physmem. 2005-03-05 18:57:30 +00:00
imp
8006bd7cc8 Use BUS_PROBE_DEFAULT for pci probe return value 2005-03-05 18:30:12 +00:00
imp
adb9644112 Use BUS_PROBE_DEFAULT for pci probe return value 2005-03-05 18:17:35 +00:00
des
3b019a80a9 Replace goto with continue. 2005-03-05 18:14:44 +00:00
imp
e95f5c9994 Use BUS_PROBE_DEFAULT for pci probe return value 2005-03-05 18:10:49 +00:00
des
10b2bbd2d6 Use TUNABLE_ULONG_FETCH to retrieve hw.physmem; getenv_quad() will take
care of the multiplier suffix.
2005-03-05 18:10:04 +00:00
des
0a9ea258c8 Replace goto with continue. 2005-03-05 18:02:21 +00:00
bmah
429f3858a6 Revise the minimum RAM requirements to 24MB for i386 (and implicitly
pc98).

(While here, remove mention of 80386 custom kernels since support for the
80386 has been removed from CURRENT.)

Feedback from:	bde, des, imp, jhb
2005-03-05 16:49:01 +00:00
bmah
7fa6e8c242 New release notes: Background fsck(8) summary recomputation (+MFC),
newfs(8) snapshot warning (+MFC), newsyslog(8) -N, systat(1) -netstat
IPv6-ware (+MFC), merged install/fixit CDROMs (+MFC).

MFCs noted:  IPFIREWALL_FORWARD_EXTENDED, strftime(3) GNU extensions,
rc.conf(5) tmpmfs_flags and varmfs_flags.
2005-03-05 16:26:32 +00:00
des
ce65c4592e Teach getenv_quad() to recognize k/m/g/t suffixes in both lower- and
upper-case.  This means (almost) all tunables now support those suffixes.
2005-03-05 15:52:12 +00:00
mux
11cbdd3ebc Add support for fxp(4) cards found in Sony FS570 laptops.
Submitted by:	Gavin Atkinson <gavin.atkinson@ury.york.ac.uk>
2005-03-05 13:52:28 +00:00
davidxu
068af308bc Allocate umtx_q from heap instead of stack, this avoids
page fault panic in kernel under heavy swapping.
2005-03-05 09:15:03 +00:00
bmah
0c762ace6d Fix the truly bewildering sorting order near the middle of the
"Userland Changes" section.  I'm pretty sure this is all my
fault...only a native English^H^H^H^H^H^H^HAmerican speaker could mess
it up this badly.

No content changes.
2005-03-05 04:58:55 +00:00
bmah
41d44bc637 Fix a few nits here and there. 2005-03-05 04:53:59 +00:00
grog
9696379131 Add comments on setting resource limits. 2005-03-05 01:04:18 +00:00
grog
4fe6e2548a Add targets to build cscope name files and TAGS file for etags. 2005-03-05 00:56:15 +00:00
davidxu
138f410d80 The td_waitset is pointing to a stack address when thread is waiting
for a signal, because kernel stack is swappable, this causes page fault
in kernel under heavy swapping case. Fix this bug by eliminating unneeded
code.
2005-03-04 22:46:31 +00:00
brueffer
75e10083c1 Remove superflous .Pp calls.
Submitted by:	Joel Dahl <joel@automatvapen.se>
MFC after:	3 days
2005-03-04 22:34:57 +00:00
marius
1cb3fbf493 - sparc64/fhc/fhc.c:
Change fhc(4) to use IRQ numbers instead of RIDs for allocating the
  IRQs of children. This works similar to e.g. sbus(4), i.e. add the
  IRQ resources as fully specified to the resource lists of the children,
  allocate them like normal. When establishing the interrupt search the
  interrupt maps of the children for a matching INO to determine which
  map we need to write the fully specified interrupt number to and to
  enable the mapping (before the RID was used to indicate which interrupt
  map to use).

- dev/puc/puc.c:
  Revert rev. 1.38, with the above change fhc(4) no longer needs special
  treatment for allocating IRQs.

Thanks to:	joerg for providing access to an E3500
2005-03-04 22:23:21 +00:00
marius
77e85d83c6 Let central(4) manage the resources of its children so they don't need
to fiddle with OFW themselves.

Thanks to:	joerg for providing access to an E3500
2005-03-04 22:21:11 +00:00
joerg
8ade7a733f Addendum to netchild's C compiler abstraction mega-patch which somehow
have been forgotten in my previous commit.

Submitted by:	netchild
2005-03-04 21:26:07 +00:00
jhb
b9473ca5d7 Always use a separate disc for the livefs on ia64 since the merged image
doesn't fit on one disc.

Tested by:	marcel
X-MFC after:	30 seconds
2005-03-04 20:37:20 +00:00
green
a454a69a64 Do not require the pty(4) majors to be anything in particular. 2005-03-04 20:23:32 +00:00
hrs
7c9b470c8d New release notes:
vkbd(4) added,
	acpi_snc added,
	gx(4) removed,
	old vinum(4) removed,
	libxpg4 removed,
	a separate directory for named(8) dynamic zones added,
	rm(1) SUSv3 conformance,
	strftime(3) GNU extensions added, and
	rc.conf(5) variables: tmpmfs_flags and varmfs_flags.

Update release notes:
	Fix a typo (s/machine-indepedent/machine-independent/).
2005-03-04 19:52:34 +00:00
njl
baac8b54be On i386 platforms at least, ACPI throttling is accomplished by the chipset
modulating the STPCLK# pin based on the duty cycle.  Since p4tcc uses the
same mechanism (but internal to the CPU), we triggered a hang on some
systems at low frequencies when both were in use.  Now, disable
acpi_throttle when p4tcc is also present.

Tested by:	Kevin Oberman
2005-03-04 18:59:54 +00:00
le
631753b5a7 Don't allow to synchronize a plex that is already sychronizing.
Reset the 'syncing' flag in case of errors, too.

Some cosmetics.
2005-03-04 16:43:40 +00:00
marius
bb4d2f0c09 Minor changes:
- Use FBSDID.
- Remove unused macro.
- Use auto-generated typedefs for the prototypes of the bus and device
  interface functions.
- Terminate the output of device_printf(9) with a newline char.
- Honour the return values of malloc(), OF_getprop(), etc.
- Use __func__ instead of hardcoded function names.
- Print the physical slot number and the board model on attach.

MFC after:	1 month
2005-03-04 16:01:57 +00:00
marius
140776aa69 Minor changes:
- Use FBSDID.
- Remove an unused include.
- Use auto-generated typedefs for the prototypes of the device interface
  functions.
- Terminate the output of device_printf(9) with a newline char.
- Honour the return value of malloc(3).

MFC after:	1 month
2005-03-04 15:17:05 +00:00
nyan
10e5f5ed0c Don't use the ptoa() to set the 'realmem' variable. Because F/pc98's policy
is to keep the same as F/i386.
2005-03-04 14:26:23 +00:00
ru
c84a67b2e2 New Ukrainian locale: uk_UA.CP1251.
Submitted by:	Alexander Peresunko
2005-03-04 14:24:30 +00:00