summaryrefslogtreecommitdiff
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Sync with sys/i386/i386/machdep.c revision 1.285.KATO Takenori1998-01-302-32/+30
| | | | Notes: svn path=/head/; revision=32890
* Retire LFS.Poul-Henning Kamp1998-01-3036-5232/+47
| | | | | | | | | | | | | | | If you want to play with it, you can find the final version of the code in the repository the tag LFS_RETIREMENT. If somebody makes LFS work again, adding it back is certainly desireable, but as it is now nobody seems to care much about it, and it has suffered considerable bitrot since its somewhat haphazard integration. R.I.P Notes: svn path=/head/; revision=32889
* Make the bounce buffer code a little more robust when space isn'tJohn Dyson1998-01-304-38/+50
| | | | | | | | | available. If there isn't bounce space available, the bounce code is disabled. This will allow most large systems to run properly when the bounce space is mistakenly allocated above 16MB. Notes: svn path=/head/; revision=32884
* Remove obsolete strategy code that was replaced by the disk slice mapping code.Paul Traina1998-01-292-18/+6
| | | | | | | | FreeBSD filesystems could be dammaged by repeatedly mounting and unmounting several partitions. Notes: svn path=/head/; revision=32874
* Update to version stable-165Jordan K. Hubbard1998-01-293-418/+550
| | | | | | | Submitted by: Ustimenko Semen <semen@iclub.nsu.ru> Notes: svn path=/head/; revision=32869
* Correct usage of unit to t->lun. This fixes the DEVFS case and theMike Smith1998-01-292-10/+10
| | | | | | | | "buggy Zip" message. Suggested by: Pedro A M Vazquez <vazquez@IQM.Unicamp.BR> Notes: svn path=/head/; revision=32865
* Sync with sys/i386/isa/clock.c revision 1.108.KATO Takenori1998-01-283-15/+21
| | | | Notes: svn path=/head/; revision=32852
* Sync with sys/i386/boot/biosboot/Makefile revision 1.61.KATO Takenori1998-01-281-2/+2
| | | | Notes: svn path=/head/; revision=32851
* APM calls inittodr(0) which is stupid, but at least stop setting thePoul-Henning Kamp1998-01-285-25/+35
| | | | | | | clock back to when Dennis had a good idea. Notes: svn path=/head/; revision=32850
* Define CTL-ALT-ESC as the `debug' key, CTL-ALT-SPACE as the `suspend'keyKazutaka YOKOTA1998-01-283-15/+15
| | | | | | | in all built-in keymaps. Notes: svn path=/head/; revision=32849
* Symlink bootblocks for 'wfd' disks as well.Mike Smith1998-01-271-2/+2
| | | | Notes: svn path=/head/; revision=32829
* Fix operation with the Iomega Zip 100 ATAPI.Mike Smith1998-01-272-26/+184
| | | | | | | | | | All known versions of this drive (firmware 21.* and 23.*) will lock up if presented with a read/write request of > 64 blocks. In the presence of such a unit, I/O requests of > 64 blocks are fragmented to avoid this. Notes: svn path=/head/; revision=32827
* Check the status port after waiting for DRQ; some drives seem to be veryMike Smith1998-01-271-0/+9
| | | | | | | | | slow coming off the bus (eg. Iomega's ATAPI Zip). Failure to do this results in a false probe of an ATAPI device with garbage data. Notes: svn path=/head/; revision=32825
* Improved connection establishment performance by doing local port lookups viaDavid Greenman1998-01-2711-238/+305
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a hashed port list. In the new scheme, in_pcblookup() goes away and is replaced by a new routine, in_pcblookup_local() for doing the local port check. Note that this implementation is space inefficient in that the PCB struct is now too large to fit into 128 bytes. I might deal with this in the future by using the new zone allocator, but I wanted these changes to be extensively tested in their current form first. Also: 1) Fixed off-by-one errors in the port lookup loops in in_pcbbind(). 2) Got rid of some unneeded rehashing. Adding a new routine, in_pcbinshash() to do the initialial hash insertion. 3) Renamed in_pcblookuphash() to in_pcblookup_hash() for easier readability. 4) Added a new routine, in_pcbremlists() to remove the PCB from the various hash lists. 5) Added/deleted comments where appropriate. 6) Removed unnecessary splnet() locking. In general, the PCB functions should be called at splnet()...there are unfortunately a few exceptions, however. 7) Reorganized a few structs for better cache line behavior. 8) Killed my TCP_ACK_HACK kludge. It may come back in a different form in the future, however. These changes have been tested on wcarchive for more than a month. In tests done here, connection establishment overhead is reduced by more than 50 times, thus getting rid of one of the major networking scalability problems. Still to do: make tcp_fastimo/tcp_slowtimo scale well for systems with a large number of connections. tcp_fastimo is easy; tcp_slowtimo is difficult. WARNING: Anything that knows about inpcb and tcpcb structs will have to be recompiled; at the very least, this includes netstat(1). Notes: svn path=/head/; revision=32821
* Execute cpuid if BIOS disables cpuid instruction of Cyrix 6x86MX CPU.KATO Takenori1998-01-272-8/+26
| | | | Notes: svn path=/head/; revision=32820
* Someone removed vm_zone.c from /sys/conf/files.John Dyson1998-01-271-0/+1
| | | | Notes: svn path=/head/; revision=32817
* Generate symlinks to the "sys" and <machine> directories and putBruce Evans1998-01-261-12/+37
| | | | | | | | | them in the include path. This fixes recent breakage of the syscons LKMs and general brokenness of the include paths (headers under /usr/include were used in many cases). Notes: svn path=/head/; revision=32813
* Correct $Id$Brian Somers1998-01-261-1/+1
| | | | Notes: svn path=/head/; revision=32809
* Move DPT related options out of i386 specific filesJulian Elischer1998-01-266-30/+19
| | | | | | | | | so DPT devices can be used on other PCI (alpha?) machines. Suggested by: several people Notes: svn path=/head/; revision=32808
* Sync with sys/i386/i386/userconfig.c revision 1.101.KATO Takenori1998-01-261-2/+3
| | | | Notes: svn path=/head/; revision=32807
* Sync with sys/i386/confi/files.i386, majors.i386 and options.i386KATO Takenori1998-01-265-5/+30
| | | | | | | revisions 1.187, 1.25 and 1.68, respectively. Notes: svn path=/head/; revision=32806
* Add the DPT driver and options.Julian Elischer1998-01-263-3/+132
| | | | | | | GENERIC with dpt may wait a few days if required. Notes: svn path=/head/; revision=32805
* Add Simon Shapiro's DPT driverJulian Elischer1998-01-2614-8/+7434
| | | | | | | | this shouldn't break anything existing. Userland utilities to follow. Notes: svn path=/head/; revision=32801
* re-sort back into orderPeter Wemm1998-01-261-8/+8
| | | | Notes: svn path=/head/; revision=32797
* Add missing definition for swi_vmPeter Wemm1998-01-261-1/+2
| | | | Notes: svn path=/head/; revision=32796
* Undo previous commit. The cpuid symbol has been already used by SMPKATO Takenori1998-01-254-46/+10
| | | | | | | | | stuff. Pointed-out by: Manfred Antar <root@mantar.slip.netcom.com> Notes: svn path=/head/; revision=32781
* Initialize if_ibytes and if_obytes to zero.Steve Price1998-01-251-0/+2
| | | | | | | | PR: 1376 Submitted by: risner@stdio.com Notes: svn path=/head/; revision=32776
* Fix a couple of operator precedence bugs.Steve Price1998-01-252-5/+5
| | | | | | | | PR: 5450 Submitted by: Sakari Jalovaara <sja@tekla.fi> Notes: svn path=/head/; revision=32773
* Added cpuid instruction.KATO Takenori1998-01-252-2/+20
| | | | Notes: svn path=/head/; revision=32772
* Execute cpuid if BIOS disables cpuid instruction of Cyrix 6x86MX CPU,KATO Takenori1998-01-252-8/+26
| | | | | | | | | and store its result into cpu_id and cpu_feature variables. Tested by: Simon Coggins <chaos@ultra.net.au> Notes: svn path=/head/; revision=32771
* Even though BIOS writer's guide recommends cpuid instruction of CyrixKATO Takenori1998-01-256-36/+116
| | | | | | | | | | | | 6x86MX CPU is enabled (BIOS should not disable it), some BIOS disables it via CCR4. In this case, cpu variable becomes CPU_486 and identblue() is called. Because Cyrix 6x86MX has MSR and doesn't have MSR1002, wrmsr instruction generates general protection fault. Tested by: Simon Coggins <chaos@ultra.net.au> Notes: svn path=/head/; revision=32765
* Sync with sys/i386/conf/options.i386 revision 1.67.KATO Takenori1998-01-252-2/+4
| | | | Notes: svn path=/head/; revision=32762
* Fixed typo in comment.KATO Takenori1998-01-252-4/+4
| | | | Notes: svn path=/head/; revision=32760
* Various NFS fixes:John Dyson1998-01-253-175/+161
| | | | | | | | | | | | | | | | | | | Make vfs_bio buffer mgmt work better. Buffers were being used after brelse. Make nfs_getpages work independently of other NFS interfaces. This eliminates some difficult recursion problems and decreases pagefault overhead. Remove an erroneous vfs_unbusy_pages. Fix a reentrancy problem, with nfs_vinvalbuf when vnode is already being rundown. Reassignbuf wasn't being called when needed under certain circumstances. (Thanks to Bill Paul for help.) Notes: svn path=/head/; revision=32755
* Various NFS fixes:John Dyson1998-01-252-14/+26
| | | | | | | | | | | | | | | | | | | Make vfs_bio buffer mgmt work better. Buffers were being used after brelse. Make nfs_getpages work independently of other NFS interfaces. This eliminates some difficult recursion problems and decreases pagefault overhead. Remove an erroneous vfs_unbusy_pages. Fix a reentrancy problem, with nfs_vinvalbuf when vnode is already being rundown. Reassignbuf wasn't being called when needed under certain circumstances. (Thanks for help from Bill Paul.) Notes: svn path=/head/; revision=32754
* Turn CLK_USE_TSC_CALIBRATION into a new-style option.Eivind Eklund1998-01-252-2/+4
| | | | Notes: svn path=/head/; revision=32753
* Make TCP_COMPAT_42 a new style option.Eivind Eklund1998-01-254-4/+8
| | | | Notes: svn path=/head/; revision=32752
* Turn NSWAPDEV into a new-style option.Eivind Eklund1998-01-252-5/+7
| | | | Notes: svn path=/head/; revision=32751
* Remove the FDSEEKWAIT option and description.Eivind Eklund1998-01-253-36/+3
| | | | | | | | | The functionality was present for two days in october/november 1994 before being backed out; I don't think we can consider it really critical ;-) Notes: svn path=/head/; revision=32750
* Make MD5 a new-style option. This one was eeeeeaaaaaasssssyyyyy ;-)Eivind Eklund1998-01-251-1/+2
| | | | Notes: svn path=/head/; revision=32749
* Sync with sys/i386/conf/GENERIC revision 1.105.KATO Takenori1998-01-252-2/+8
| | | | Notes: svn path=/head/; revision=32748
* Small adjustment in sync check code.Kazutaka YOKOTA1998-01-241-2/+2
| | | | Notes: svn path=/head/; revision=32733
* Sync with sys/i386/isa/wd.c revision 1.148.KATO Takenori1998-01-241-1/+3
| | | | Notes: svn path=/head/; revision=32730
* Sync with sys/i386/i386/machdep.c revision 1.283.KATO Takenori1998-01-242-4/+4
| | | | Notes: svn path=/head/; revision=32729
* Sync with sys/i386/i386/machdep.c revision 1.282.KATO Takenori1998-01-242-20/+16
| | | | Notes: svn path=/head/; revision=32727
* Make all file-system (MFS, FFS, NFS, LFS, DEVFS) related option new-style.Eivind Eklund1998-01-24103-126/+297
| | | | | | | | | | | This introduce an xxxFS_BOOT for each of the rootable filesystems. (Presently not required, but encouraged to allow a smooth move of option *FS to opt_dontuse.h later.) LFS is temporarily disabled, and will be re-enabled tomorrow. Notes: svn path=/head/; revision=32726
* LKM-support for converting all file-system options to new-style options.Eivind Eklund1998-01-243-9/+18
| | | | Notes: svn path=/head/; revision=32725
* Add better support for larger I/O clusters, including larger physicalJohn Dyson1998-01-2417-61/+207
| | | | | | | | I/O. The support is not mature yet, and some of the underlying implementation needs help. However, support does exist for IDE devices now. Notes: svn path=/head/; revision=32724
* VM level code cleanups.John Dyson1998-01-2238-603/+490
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1) Start using TSM. Struct procs continue to point to upages structure, after being freed. Struct vmspace continues to point to pte object and kva space for kstack. u_map is now superfluous. 2) vm_map's don't need to be reference counted. They always exist either in the kernel or in a vmspace. The vmspaces are managed by reference counts. 3) Remove the "wired" vm_map nonsense. 4) No need to keep a cache of kernel stack kva's. 5) Get rid of strange looking ++var, and change to var++. 6) Change more data structures to use our "zone" allocator. Added struct proc, struct vmspace and struct vnode. This saves a significant amount of kva space and physical memory. Additionally, this enables TSM for the zone managed memory. 7) Keep ioopt disabled for now. 8) Remove the now bogus "single use" map concept. 9) Use generation counts or id's for data structures residing in TSM, where it allows us to avoid unneeded restart overhead during traversals, where blocking might occur. 10) Account better for memory deficits, so the pageout daemon will be able to make enough memory available (experimental.) 11) Fix some vnode locking problems. (From Tor, I think.) 12) Add a check in ufs_lookup, to avoid lots of unneeded calls to bcmp. (experimental.) 13) Significantly shrink, cleanup, and make slightly faster the vm_fault.c code. Use generation counts, get rid of unneded collpase operations, and clean up the cluster code. 14) Make vm_zone more suitable for TSM. This commit is partially as a result of discussions and contributions from other people, including DG, Tor Egge, PHK, and probably others that I have forgotten to attribute (so let me know, if I forgot.) This is not the infamous, final cleanup of the vnode stuff, but a necessary step. Vnode mgmt should be correct, but things might still change, and there is still some missing stuff (like ioopt, and physical backing of non-merged cache files, debugging of layering concepts.) Notes: svn path=/head/; revision=32702
* Sync with sys/i386/i386/userconfig.c revision 1.100.KATO Takenori1998-01-221-2/+3
| | | | Notes: svn path=/head/; revision=32701