John Dyson
dc2efb2766
Add the ability for the pageout daemon to measure stats on memory usage before
...
the system is out of memory. The daemon does a minimal amount of work that
increases as the system becomes more likely to run out of memory and page in/out.
The default tuning is fairly low in background CPU usage, and sysctl variables
have been added to enable flexable operation. This is an experimental feature
that will likely be changed and improved over time.
1997-07-27 04:49:19 +00:00
John Dyson
11cccda1de
Fix a very subtile problem that causes unnessary numbers of objects backing
...
a single logical object.
Submitted by: Alan Cox <alc@cs.rice.edu>
1997-07-27 04:44:12 +00:00
Andrey A. Chernov
1d7adc8bea
SUNIT: exchange back whole ifnet structures since they are in the linked
...
list, not device numbers only
1997-07-26 20:13:56 +00:00
Andrey A. Chernov
b2296ca150
Forget to change units in prev. SUNIT commit. Move variales to local
...
section for SUNIT.
1997-07-26 19:09:12 +00:00
Andrey A. Chernov
0229106442
Exchange whole structures on SUNIT, not unit+flags fields only.
...
It is needed because if_attach() assumes fixed units order
and pass it to ifconfig
1997-07-26 18:47:56 +00:00
Steve Passe
978bf230f5
Comment out PEND_INTS for now, it breaks ISA INTs.
...
Reported by: dave adkins <adkin003@gold.tc.umn.edu>
1997-07-26 17:38:43 +00:00
Jean-Marc Zucconi
ffd8332856
Ignore the block size returned by scsi_read_capacity(): this value is
...
rarely correct and the block size is already specified in the prepare_track()
functions.
1997-07-26 15:07:42 +00:00
KATO Takenori
99bf679bcf
Synchronize with sys/i386/isa/syscons.c revision 1.228.
1997-07-26 13:54:01 +00:00
KATO Takenori
2f2a1f2613
Synchronize with sys/i386/conf/options.i386 revision 1.52.
1997-07-26 13:53:27 +00:00
KATO Takenori
95ec91943b
Synchronize with sys/i386/isa/clock.c revision 1.98.
1997-07-26 13:52:47 +00:00
Poul-Henning Kamp
9587ee1621
Fix a brino in my last commit.
...
Noticed by: smp
1997-07-26 07:58:29 +00:00
Steve Passe
f9e8dbb8c3
mpapic.c & mp_machdep:
...
- removed TEST_ALTTIMER.
- removed APIC_PIN0_TIMER.
- removed TIMER_ALL.
mplock.s:
- minor update of try_mplock for new algorithm where a CPU uses try_mplock
instead of get_mplock in the ISRs.
1997-07-26 01:55:19 +00:00
Steve Passe
12084b3cf1
clock.c:
...
- removed TEST_ALTTIMER.
- removed APIC_PIN0_TIMER.
- removed TIMER_ALL.
apic_vector.s:
- new algorithm where a CPU uses try_mplock instead of get_mplock:
if successful continue as before.
if fail set ipending bit, mask INT (to avoid recursion), cleanup & iret.
This allows the CPU to return to successful work, while the ISR will be run
by the CPU holding the lock as part of the doreti dance.
1997-07-26 01:53:04 +00:00
Steve Passe
f777396bfa
Removed "options SMP_TIMER_NC".
...
Removed TEST_ALTTIMER.
Removed APIC_PIN0_TIMER.
Removed TIMER_ALL.
1997-07-26 01:47:26 +00:00
Steve Passe
25717e9980
Removed "options SMP_TIMER_NC".
1997-07-26 01:46:03 +00:00
KATO Takenori
96096c4e7d
Synchornize with sys/i386/isa/syscons.c revision 1.227.
1997-07-26 01:36:10 +00:00
KATO Takenori
94a95fad51
Synchronize with sys/i386/conf/options.i386 revision 1.51.
1997-07-26 01:35:14 +00:00
KATO Takenori
4b73f65291
Synchronize with sys/i386/conf/files.i386 revision 1.168.
1997-07-26 01:34:33 +00:00
KATO Takenori
58e43095b7
Synchronize with sys/i386/conf/Makefile.i386 revision 1.101.
1997-07-26 01:34:05 +00:00
David Greenman
dd0ebb7f08
Added support for the Seeq 80c24 PHY; does nothing except disable the
...
unsupported warning message for it.
1997-07-25 23:41:12 +00:00
John Polstra
f7218f9f22
In SCSI diagnostic messages, cause "0x" to be prepended to the number
...
in the "info" field to make it clear that it is hexadecimal.
1997-07-25 23:25:20 +00:00
Stefan Eßer
c6d84f7c3e
Add Ultra-SCSI support and enable more features for advanced
...
Symbios/NCR SCSI chips (no-flush option, large fifo, ...).
Submitted by: Gerard Roudier <groudier@club-internet.fr>
1997-07-25 20:45:09 +00:00
Poul-Henning Kamp
38d8a113a9
Add option for compiling in a 8x16 font.
1997-07-25 11:53:30 +00:00
Brian Somers
af782f1c59
Recalculate ip_sum before passing a
...
re-assembled packet to a divert port.
Pointed-out by: Ari Suutari <ari@suutari.iki.fi>
VS: then name the system in this line, otherwise delete it.
1997-07-25 03:58:21 +00:00
Steve Passe
a43193e3e1
simplelock functions removed from apic_ipl.s.
...
ASM optimization by: Bruce Evans <bde@zeta.org.au>
1997-07-24 23:51:33 +00:00
Steve Passe
fa4e34805d
Removed the simplelock functions.
...
Cleaned up the other functions.
1997-07-24 23:49:44 +00:00
Steve Passe
e27fb7b666
param.h:
...
Macros to convert the Lite2 lock manager primitives to the names used
in the kernel proper. This allows us to hide them from the lock
manager till they can be turned on.
smp.h:
declarations for the new simplelock functions.
1997-07-24 23:48:53 +00:00
Steve Passe
64ab539460
Added a new SMP specific file: i386/i386/simplelock.s.
...
This code was split off from apic_ipl.s.
It contains the Lite2 lock manager primitives:
- s_lock_init()
- s_lock()
- s_lock_try()
- s_unlock()
1997-07-24 23:45:17 +00:00
Steve Passe
9edce0605a
Fix a difference between the declaration & definition of isa_dmastatus().
...
Submitted by: Chuck Robey <chuckr@glue.umd.edu>
1997-07-24 18:05:22 +00:00
Steve Passe
c87f63b6c1
Back out align attribute that corrupts "machine independance" of file.
...
Submitted by: Bruce Evans <bde@zeta.org.au>
1997-07-24 18:01:34 +00:00
KATO Takenori
4877e978b3
Treat 6x86MX CPU as 686-class CPU instead of 586-class CPU.
1997-07-24 14:19:25 +00:00
KATO Takenori
8d873bf1dd
Synchronize with sys/i386/isa/isa.c revision 1.96.
1997-07-24 14:10:54 +00:00
Mike Smith
a4453045b0
Add isa_dmastatus() for reading the current ISA DMA counter for a
...
given channel.
Submitted by: luigi@labinfo.iet.unipi.it (Luigi Rizzo)
1997-07-24 05:27:40 +00:00
Steve Passe
7f6ab10763
Removed the defunct GET_MPLOCK/REL_MPLOCK macros.
...
These are no-ops for UP, and should have been removed when vector.s
was split into UP and SMP subsets.
1997-07-24 03:24:57 +00:00
Steve Passe
e78205df5b
Fixed possible deadlock from recursive INTs on same cpu. Since
...
we use lazy masking INTREN()/INTRDIS() might be called with INTs enabled.
This means another higher prio INT to the same cpu could attempt to
re-enter the critical region, but would spin waiting for the lock. Since
it is the owner, it would deadlock.
1997-07-23 21:25:31 +00:00
Steve Passe
812e4da7a8
New simple_lock code in asm:
...
- s_lock_init()
- s_lock()
- s_lock_try()
- s_unlock()
Created lock for IO APIC and apic_imen (SMP version of imen)
- imen_lock
Code to use imen_lock for access from apic_ipl.s and apic_vector.s.
Moved this code *outside* of mp_lock.
It seems to work!!!
1997-07-23 20:47:19 +00:00
Steve Passe
d9593fb979
Forced 32bit alignment of struct simple_lock in param.h.
...
Added declarations of new simple_lock data and functions to smp.h.
1997-07-23 20:42:16 +00:00
Steve Passe
740dc1b5f5
Forced 32bit alignment of struct simple_lock.
1997-07-23 20:40:52 +00:00
KATO Takenori
1cc4d2e950
Synchronize with sys/i386/isa/clock.c revision up to 1.97.
1997-07-23 11:28:39 +00:00
Steve Passe
919bdda1d4
Coded simple_lock and friends in asm.
1997-07-23 05:49:19 +00:00
Steve Passe
b1ba015c25
Added a missing semicolon, compile failed when I turned on simple_lock().
...
Evidently this has never been compiled before, NOT a good sign...
1997-07-22 23:19:48 +00:00
Steve Passe
87a6f31089
Last commit didn't take, operator error???
1997-07-22 20:12:32 +00:00
Steve Passe
995655b397
Hid the existance of imen via a dump routine.
1997-07-22 19:57:30 +00:00
Steve Passe
2e12b456f5
Cleaned up an ugly printout.
1997-07-22 19:51:51 +00:00
Steve Passe
f2aeb7eaac
Cleaned up the FPU init.
1997-07-22 16:49:54 +00:00
Doug Rabson
abfbc4005f
Correct some dumb mistakes in the WebNFS stuff.
...
Submitted by: bde
1997-07-22 15:35:57 +00:00
Doug Rabson
c4b3a97040
Allow NULL cookie verifiers for non-NULL offsets. This is needed for
...
Digital Unix boxes since they appear to always send null verifiers.
1997-07-22 15:35:15 +00:00
Jordan K. Hubbard
c1f94e717b
Well, consensus seems very split on this so I talked it over with DG
...
and he says he's happy to see forward movement in aligning our defaults
with a 16 bit world, the 8 bit folk already being veterans by this
point who know how to use userconfig.
In any case, perhaps Warner will soon come to save us all with his Dynamic
Probing(tm) feature and this will all become totally moot in any case,
so it's probably not worth arguing about either way.
1997-07-22 08:33:52 +00:00
Bruce Evans
8b0597671f
Quick and dirty (?) fix for noatime option. The WebNFS changes
...
broke it by using the same value for MNT_EXPUBLIC as for MNT_NOATIME.
Just use a different value for MNT_EXPUBLIC.
1997-07-22 08:03:19 +00:00
Steve Passe
9a9ad9f746
Enabled the FPU emilaute bit define: CR0_EM
...
Reviewed by: Bruce Evans <bde@zeta.org.au>
1997-07-21 17:53:51 +00:00