Stefan Eßer
6d529e4303
Remove two features that have been reported to cause problems with
...
certain variants of the NCR chip from FE_CACHE_SET: FE_CLSE (enable
cache-line size register) and FE_ERMP (enable read-multiple). They
will be re-enabled, if a fix for the underlying problem (a restriction
in the memory to memory move logic of some chips) has been implemented.
1997-08-06 20:25:54 +00:00
Andrey A. Chernov
3ee1f2280e
runshutdown(): get rid of getdtablesize loop, it gains nothing now
...
but can waste time if many descriptors are available
1997-08-06 16:34:51 +00:00
Andrey A. Chernov
25cf4a545a
rc.shutdown fixes:
...
1) revoke -> HUP
2) controlling terminal already present
3) add missing setprocresources call
1997-08-06 16:07:52 +00:00
Peter Wemm
2a1b9e9bc5
printf does not understand %hd in the kernel
1997-08-06 11:08:01 +00:00
KATO Takenori
22ed4a0ab5
Synchronize with sys/i386/i386/machdep.c revision 1.254.
1997-08-06 09:43:45 +00:00
KATO Takenori
b8baf50c94
Synchronize with sys/i386/isa/sio.c revision 1.174.
1997-08-06 09:42:57 +00:00
KATO Takenori
7350182aef
Synchronize with sys/i386/isa/wd.c revision 1.134.
1997-08-06 09:41:59 +00:00
Philippe Charnier
81c44dca8a
Use err(3), cosmetic in usage().
1997-08-06 06:49:06 +00:00
Philippe Charnier
0e76f40d09
Use err(3), cosmetic in usage(), remove `cmdname'.
1997-08-06 06:47:41 +00:00
John Dyson
507b10b48c
Add exposure of some vm_zone allocation stats by sysctl. Also, change
...
the initialization parameters of some zones in VM map. This contains
only optimizations and not bugfixes.
1997-08-06 04:58:05 +00:00
Jun-ichiro itojun Hagino
16050303bd
PR: kern/4117
...
Reviewed by: ishii@csl.sony.co.jp , kjc@csl.sony.co.jp
checked with FreeBSD+Riscom - cisco4500 configuration.
1997-08-06 01:43:09 +00:00
Rodney W. Grimes
d607bc7f6a
Add #if __FreeBSD__ >= 3 around #include <net/if_var.h> so that this
...
can compile under both FreeBSD 2.x and 3.x.
1997-08-06 00:45:23 +00:00
Alexander Langer
37d06d64cd
Ensure that the interface name is terminated.
1997-08-06 00:19:05 +00:00
Andrey A. Chernov
6d0f9ab962
Detect null secret as error, it is temp. fix until next release
...
Submitted by: Craig Metz <cmetz@inner.net>
1997-08-05 23:15:28 +00:00
John Dyson
ba9be04c72
Fixed the commit botch that was causing crashes soon after system
...
startup. Due to the error, the initialization of the zone for
pv_entries was missing. The system should be usable again.
1997-08-05 23:03:24 +00:00
John Dyson
0d65e566b9
Another attempt at cleaning up the new memory allocator.
1997-08-05 22:24:31 +00:00
John Dyson
b79933ebfa
Fix some bugs, document vm_zone better. Add copyright to vm_zone.h. Use
...
the new zone code in pmap.c so that we can get rid of the ugly ad-hoc
allocations in pmap.c.
1997-08-05 22:07:27 +00:00
Andrey A. Chernov
f4e4504f06
Add -t option which turns T/TCP off as workaround for some broken servers
...
Submitted by: Marc Slemko <marcs@znep.com>
1997-08-05 20:18:39 +00:00
Andrey A. Chernov
e1a10354cb
Improve weak locking by using flock()
1997-08-05 12:58:02 +00:00
Philippe Charnier
4c26232f70
Use err(3). Document -l flag.
...
Obtained from: OpenBSD
1997-08-05 06:46:46 +00:00
Philippe Charnier
f03377a6c9
Document that multiple args are allowed, i.e Ar file -> Ar file ...
1997-08-05 06:44:28 +00:00
Philippe Charnier
0bb6b796dd
Use err(3). Add usage() and prototypes.
1997-08-05 06:42:48 +00:00
Philippe Charnier
321e481502
Cosmetic in usage string.
1997-08-05 06:41:26 +00:00
Satoshi Asami
2799473b0c
Merge buildworld/installworld patch to Makefile from RELENG_2_2. Patch
...
a couple *.mk files to enable -current world building on really old
machines (e.g., 2.1.5).
Reviewed by: too many many people to list here, special thanks to bde
1997-08-05 03:49:49 +00:00
Satoshi Asami
308f1befca
Remove bogus malloc() decl.
1997-08-05 03:40:04 +00:00
Mike Smith
c7a2b294f0
memcmp -> bmcp
...
Submitted by: smp, bde
1997-08-05 01:38:19 +00:00
John Dyson
f2adc8bb27
Modify pmap to use our new memory allocator. Also, change the vm_map_entry
...
allocations to be interrupt safe.
1997-08-05 01:32:52 +00:00
John Dyson
b25b051bfd
Modify pmap to use our new memory allocator.
1997-08-05 01:32:05 +00:00
John Dyson
f6363c8442
Slightly reorder some operations so that the main processor gets global
...
mappings early on.
1997-08-05 01:02:14 +00:00
John Dyson
de5858ab42
Remove the PMAP_PVLIST conditionals in pmap.*, and another unneeded define.
1997-08-05 00:42:01 +00:00
John Dyson
565bca977d
A very simple zone allocator.
1997-08-05 00:07:31 +00:00
John Dyson
e258d33a51
Fix up come cruft that I left on a previous commit.
1997-08-05 00:05:00 +00:00
John Dyson
3075778b63
Get rid of the ad-hoc memory allocator for vm_map_entries, in lieu of
...
a simple, clean zone type allocator. This new allocator will also be
used for machine dependent pmap PV entries.
1997-08-05 00:02:08 +00:00
Steve Passe
5efb75076f
Add SMP(4) as a link to smp(4).
1997-08-04 21:11:24 +00:00
Steve Passe
17251018d8
Added missing SMP kernel manpage.
...
Mostly a stub at this point, needs alot of work.
Noticed by: Steve Roome steve@visint.co.uk
1997-08-04 21:02:11 +00:00
Steve Passe
28f53d312c
pushed down "volatility" of simplelock to actual int inside the struct.
...
Submitted by: bde@zeta.org.a
1997-08-04 19:14:56 +00:00
Steve Passe
9d37772f68
Added include of intr_machdep.h to eliminate compiler warning for APIC_IO.
1997-08-04 19:12:54 +00:00
Steve Passe
248fcb669b
pushed down "volatility" of simplelock to actual int inside the struct.
...
Submitted by: bde@zeta.org.au , smp@csn.net
1997-08-04 19:11:26 +00:00
Steve Passe
570dbb53e0
Eliminate frequent silo overflows by restoring the TEST_LOPRIO code.
...
This code was eliminated when the PEND_INTS algorithm was added. But it was
discovered that PEND_INTS only worsen latency for FAST_INTR() routines,
which can't be marked pending.
Noticed & debugged by: dave adkins <adkin003@gold.tc.umn.edu>
1997-08-04 17:31:43 +00:00
John Dyson
23be6be853
Fix a problem with the vfs vnode caching that it doesn't grow quickly
...
enough and can cause some strange performance problems. Specifically, at
or near startup time is when the problem is worst. To reproduce
the problem, run "lat_syscall stat" from the alpha lmbench code right
after bootup. A positive side effect of this mod is that the name
cache can be set to grow again by sysctl. A noticable positive
performance impact is realized due to a larger namecache being available
as needed (or tuned.)
1997-08-04 07:43:28 +00:00
Poul-Henning Kamp
2401f27c25
remove unused MAXVNODEUSE macro.
1997-08-04 07:31:36 +00:00
Poul-Henning Kamp
3758b280f2
We got a couple of "map mismatch" panics from the following
...
code. According to the crash dump, bpref is set to 445
and cgp->cg_nclusterblks is 444. Hence in the for loop,
the test fails immediately but the following failure check
(got == cgp->cg_nclusterblks) doesn't trigger because got >
cgp->cg_nclusterblks. This wreaks havoc in the code after that.
Fix: Move one source bit to the left :-)
Noticed by: Mike Hibler <mike@fast.cs.utah.edu>
Submitted by: Kirk McKusick <mckusick@McKusick.COM>
1997-08-04 07:30:43 +00:00
Philippe Charnier
ee461acc1a
Use err(3). Use #include "" instead of <> for local headers.
1997-08-04 06:48:25 +00:00
Philippe Charnier
9d63ad4978
Use err(3). Cosmetic in usage string. Typo in man page.
1997-08-04 06:45:11 +00:00
Philippe Charnier
69d8513530
Correct Synopsys section.
1997-08-04 06:42:51 +00:00
Philippe Charnier
43b70d782d
environmental -> environment.
1997-08-04 06:40:41 +00:00
Philippe Charnier
b637dfa85f
Cosmetic and typos.
1997-08-04 06:39:19 +00:00
David Greenman
a78e8d2a83
Fixed security hole with sharing the file descriptor table (via rfork)
...
when execing a setuid/setgid binary. Code submitted by Sean Eric Fagan
(sef@freebsd.org ).
Also consolidated the setuid/setgid checks into one place.
Reviewed by: dyson,sef
1997-08-04 05:39:24 +00:00
John Dyson
8ee6f26a8c
Make the WD code work on my P6DNF running on the SMP code. It appears
...
that there was an "early" interrupt, and this checks for it.
1997-08-04 05:26:49 +00:00
John Dyson
5fd549b62e
Fix a problem with ext2fs so that filesystems mounted at reboot don't
...
keep ahold of buffers, and therefore leave filesystems dirty. I haven't
been able to test, but the code compiles. Those who run -current, please
test and report back!!! (Sorry :-)).
PR: kern/3571
Submitted by: Dirk Keunecke <dk@panda.rhein-main.de>
1997-08-04 05:10:31 +00:00