Garrett Wollman
29c0a86011
Add back in CPU detection copde from 1.1.5. As an added bonus, the
...
hw.model MIB variable is now declared correctly.
1994-08-10 03:51:18 +00:00
David Greenman
28b5c68f2f
Fixed vm_page_deactivate to deal with getting called with a page that's
...
not on any queue. This is an old patchkit days fix.
Reviewed by: John Dyson and David Greenman
Submitted by: originally by Paul Mackerras
1994-08-10 03:09:37 +00:00
Garrett Wollman
6ae6a09b83
Change default security level to -1, so that users don't get bitten by
...
upcoming makefile change.
1994-08-10 02:41:09 +00:00
David Greenman
4b43e1d8ca
Removed some padding bytes from the nfsnode struct to make the structure
...
size a power of 2 again. The system complains otherwise - probably because
it wastes space with our malloc scheme otherwise.
1994-08-09 15:10:14 +00:00
Jordan K. Hubbard
52cd438439
Merge in the necessary bits from 1.1.5.1 to make exec.h and reloc.h
...
happy campers again (e.g. match our own exec format). This should
make ld happy.
Submitted by: jkh
1994-08-09 14:39:57 +00:00
David Greenman
95b671fc95
Removed ntohl and ntohs functions. These were already inlined assembly in
...
endian.h.
1994-08-09 11:21:44 +00:00
David Greenman
92a34c0c6d
Removed an old, obsolete call to vmmeter(). This is called now in the
...
schedcpu() routine in kern/kern_synch.c. This extra call to vmmeter() in
vm_glue.c was what was totally messing up the load average calculations.
1994-08-09 10:42:41 +00:00
David Greenman
e9b3179b97
Added various filesystems and multicast support options. Removed my
...
personal config file now that the GENERIC ones provide an adequate
template.
1994-08-09 08:17:09 +00:00
David Greenman
92dc7331c9
Made lockf advisory locking code generic (rather than ufs specific), and
...
use it in NFS. This is required both for diskless support and for POSIX
compliance. Note: the support in NFS is only for the local node.
Submitted by: based on work originally done by Yuval Yurom
1994-08-08 17:31:01 +00:00
Jordan K. Hubbard
3578b06c6a
Fix a compilation-stopping typo; whoops, David - more sleep! :-)
...
Submitted by: jkh
1994-08-08 16:45:11 +00:00
Garrett Wollman
57034e7407
Run-time configuration of VFS update interval. Old UPDATE_INTERVAL
...
configuration option is no longer supported.
1994-08-08 15:41:08 +00:00
David Greenman
e80859e4d6
Last commit for this file should have read:
...
Reduced maximum transfer size by one to allow for catching a too large
condition correctly. Do single block I/O if the size is too large.
Submitted by: Bruce Evans
1994-08-08 13:56:46 +00:00
David Greenman
7d7bb69d41
Detect the "EOF" condition. Specifically, end of partition.
...
Submitted by: Bruce Evans
1994-08-08 13:53:55 +00:00
David Greenman
8867d2f19c
Added support for SIOCSIFMTU.
1994-08-08 13:33:16 +00:00
David Greenman
4e68ceaba0
Process tracing code. Written by Sean Eric Fagan.
...
Submitted by: Sean Eric Fagan
1994-08-08 13:00:27 +00:00
David Greenman
90fd8c3866
Added ioctl support for SIOCSIFMTU.
1994-08-08 12:09:04 +00:00
David Greenman
660255695f
On second thought, better restrict the mtu to between 72-65535...strange
...
things happen otherwise.
1994-08-08 11:43:44 +00:00
David Greenman
75ee03cb27
Enforce the mtu to between the range 1-65535 before calling the driver
...
ioctl routine.
1994-08-08 10:58:30 +00:00
David Greenman
a7028af7f0
Added ioctl support for SIOCGIFMTU and SIOCSIFMTU. These set the per-
...
interface MTU.
1994-08-08 10:49:26 +00:00
David Greenman
f847d045bf
Take out multicast support for the moment.
1994-08-08 09:14:37 +00:00
David Greenman
3f6254c656
Increased ARG_MAX even further...to 64k bytes.
1994-08-08 09:12:43 +00:00
David Greenman
866dba7305
Changed B_AGE policy to work correctly in a world with relatively large
...
buffer caches. The old policy generally ended up caching nothing.
1994-08-08 09:11:44 +00:00
Garrett Wollman
4849be9c13
Define a sysctl MIB variable for the YP domain name.
1994-08-08 00:30:12 +00:00
Garrett Wollman
71919dabc4
Increase ARG_MAX so that `make clean' in src/lib/libc works again.
...
(Adding YP pushed it over the limit.)
1994-08-07 23:00:50 +00:00
Garrett Wollman
86b9a9cc2d
Use the header files that are compatible with the code just moved over
...
from 1.1.5.
1994-08-07 18:41:02 +00:00
David Greenman
8339815ff9
Made pmap_kenter "TLB safe". ...and then removed all the pmap_updates that
...
are no longer needed because of this.
1994-08-07 14:53:27 +00:00
David Greenman
a481f20029
Provide support for upcoming merged VM/buffer cache, and fixed a few bugs
...
that haven't appeared to manifest themselves (yet).
Submitted by: John Dyson
1994-08-07 13:10:43 +00:00
David Greenman
c564966bf0
Don't kremove process VM pages (oops!). This was the cause of the instability
...
that was introduced last night.
Submitted by: John Dyson
1994-08-07 03:31:52 +00:00
David Greenman
cf1344f6fc
Implemented "fast" mbuf macros. a small number of mbufs are cached in
...
a linked list for fast allocation/free. Improves TCP performance by
about 20%.
Submitted by: John Dyson
1994-08-06 11:26:16 +00:00
David Greenman
539d9ba017
Don't strip the kernel.
1994-08-06 10:52:15 +00:00
David Greenman
c87801fe54
Fixed various prototype problems with the pmap functions and the subsequent
...
problems that fixing them caused.
1994-08-06 10:25:50 +00:00
David Greenman
ae92ea446f
Incorporated 1.1.5 improvements to the bounce buffer code (i.e. make it
...
actually work), and additionally improved it's performance via new pmap
routines and "pbuf" allocation policy.
Submitted by: John Dyson
1994-08-06 09:20:56 +00:00
David Greenman
ed3f895438
Made the tmpstk start at tmpstk. Not doing so causes problems for the
...
debugger.
Submitted by: John Dyson
1994-08-06 09:17:44 +00:00
David Greenman
16f62314cd
Incorporated post 1.1.5 work from John Dyson. This includes performance
...
improvements via the new routines pmap_qenter/pmap_qremove and pmap_kenter/
pmap_kremove. These routine allow fast mapping of pages for those
architectures that have "normal" MMUs. Also included is a fix to the
pageout daemon to properly check a queue end condition.
Submitted by: John Dyson
1994-08-06 09:15:42 +00:00
David Greenman
93f6448c49
Implemented support for the "ps_strings" structure (grrrr...) for use in
...
the userland library libkvm.
1994-08-06 09:06:31 +00:00
David Greenman
f720dc2ceb
Enabled page table preloading of cached objects.
...
Submitted by: John Dyson
1994-08-06 09:00:50 +00:00
David Greenman
0d2afceedd
Process scheduling changes - adapted from FreeBSD 1.1.5. Basically,
...
charge scheduling CPU of child process to the parent and have child
inherit scheduling CPU from parent on fork. Makes a **big** difference
in the feel of the system to interactive users.
Submitted by: John Dyson
1994-08-06 07:15:04 +00:00
David Greenman
ee4834308a
Added my own kernel configuration file. This can be used as a place to
...
start for people trying to get 2.0 running.
1994-08-06 06:36:55 +00:00
Garrett Wollman
f5c789f5a9
Delete redundant #ifdef __i386__, be consistent about idempotency
...
protection.
Submitted by: Bruce Evans
1994-08-05 14:36:04 +00:00
David Greenman
9671146f8b
Hack to get netstat compiling...from 1.1.5.
1994-08-05 12:33:30 +00:00
David Greenman
a03460f16e
Converted 'vmunix' to 'kernel'.
1994-08-05 09:28:55 +00:00
David Greenman
1e74887068
Renamed this thing, and change 'vmunix' to 'kernel' internally.
1994-08-05 09:25:31 +00:00
Garrett Wollman
dba7a33ecc
Install RPC headers from include, like they always should have been.
1994-08-04 20:39:34 +00:00
David Greenman
86cadec5dc
Added assembly versions of ffs() and bcmp().
1994-08-04 19:51:01 +00:00
David Greenman
ee06dc6013
Inlined insque and remque.
1994-08-04 19:46:57 +00:00
David Greenman
ce921c90fd
Fixed bug that would cause free memory reserves to be depleted and cause a
...
panic in some cases.
Submitted by: John Dyson
1994-08-04 19:43:13 +00:00
David Greenman
d6a6c0f60c
Added some code that was accidently left out early in the 1.x -> 2.0 VM
...
system conversion.
Submitted by: John Dyson
1994-08-04 19:40:47 +00:00
Garrett Wollman
50f44fa07d
Move ieeefp.h over, and put it in the correct subdirectory this time.
...
Submitted by: Andrew Moore
1994-08-04 19:16:37 +00:00
David Greenman
0f8a0292a2
Updated to include improvements from FreeBSD 1.1.5. Fixed brokeness
...
with multicast support and BPF.
1994-08-04 17:42:35 +00:00
David Greenman
35b0a40abb
Nuke redefinition of insque and remque.
1994-08-04 06:15:10 +00:00