Commit Graph

85439 Commits

Author SHA1 Message Date
wiz
5f0cf55919 Correct section header. 2001-09-16 02:22:27 +00:00
wiz
80dc71cefe Sort SEE ALSO and remove a trailing empty line. 2001-09-16 02:22:15 +00:00
wiz
1f6453babf Boring whitespace fixes. 2001-09-16 02:21:00 +00:00
wiz
23f84ac4f1 Sort sections and add .Sx in two places. 2001-09-16 02:20:13 +00:00
wiz
fabf44e83f Boring whitespace fix. 2001-09-16 02:19:33 +00:00
wiz
f37e55afc4 Boring whitespace fixes. 2001-09-16 02:17:40 +00:00
wiz
71bd158b54 Mainly sort SEE ALSO, but also sort sections, and some punctuation and
paragraph fixes.
2001-09-16 02:17:15 +00:00
wiz
53d84b5c61 Sort sections, sort SEE ALSO, punctuation and miscellanous fixes. 2001-09-16 02:13:26 +00:00
thorpej
79ae830243 Add AGP support (oops, forgot to commit this file with the last batch). 2001-09-16 02:09:47 +00:00
wiz
72b9df9677 Boring whitespace fixes. 2001-09-16 02:08:55 +00:00
wiz
4c17cdc321 Whitespace fixes and sort SEE ALSO. 2001-09-16 01:41:09 +00:00
wiz
dfcfff97f3 Boring whitespace fixes. 2001-09-16 01:38:59 +00:00
wiz
8904bab14d Sort SEE ALSO. 2001-09-16 01:35:53 +00:00
wiz
d1a50f6e49 Punctuation nits. 2001-09-16 01:35:41 +00:00
wiz
ad13b93ba4 sort SEE ALSO, add .An. 2001-09-16 01:33:32 +00:00
wiz
4e59d26612 Drop unnecessary whitespace and .Pp, sort SEE ALSO, sort sections,
and some minor fixes.
2001-09-16 01:31:51 +00:00
enami
0af73d03a2 Sort SEE ALSO and remove trailing comma. 2001-09-16 01:09:18 +00:00
eeh
d123f46864 Enable GEM, USB and Firewire drivers. 2001-09-16 00:14:35 +00:00
eeh
345c4a7b0d Driver for Sun GEM gigabit ethernet, Sun ERI 10/100, and Apple GMAC. 2001-09-16 00:11:41 +00:00
thorpej
7d63653e94 s/int/size_t/ in one obvious place. 2001-09-16 00:01:15 +00:00
uwe
571e595ff4 Fix duplicate "is is". 2001-09-15 23:57:33 +00:00
bjh21
56536d5190 econet_inputframe: Check the header of each frame, and its length, to ensure
it looks like what we expect.  This should help detect frames garbled by the
interface driver.
2001-09-15 23:03:11 +00:00
chs
3638545406 move include of header only needed for kernel down inside ifdef _KENREL. 2001-09-15 22:44:09 +00:00
chs
5f5ac77eff add a forward decl for struct vm_page. 2001-09-15 22:38:40 +00:00
chs
099a6b5258 interfaces and structures used by new genfs_{get,put}pages(). 2001-09-15 21:33:05 +00:00
chs
737a326432 uvm_vnode.h is no more. 2001-09-15 21:19:36 +00:00
chs
02464e8394 bump to 1.5Y: vfs_reinit, massive UVM/UBC/filesystem changes. 2001-09-15 20:48:27 +00:00
chs
8be3a83fe3 uvm_vnode.h is dead, genfs_node.h is born. 2001-09-15 20:41:59 +00:00
chs
d9faf4d4e7 regen 2001-09-15 20:37:36 +00:00
chs
64c6d1d2dc a whole bunch of changes to improve performance and robustness under load:
- remove special treatment of pager_map mappings in pmaps.  this is
   required now, since I've removed the globals that expose the address range.
   pager_map now uses pmap_kenter_pa() instead of pmap_enter(), so there's
   no longer any need to special-case it.
 - eliminate struct uvm_vnode by moving its fields into struct vnode.
 - rewrite the pageout path.  the pager is now responsible for handling the
   high-level requests instead of only getting control after a bunch of work
   has already been done on its behalf.  this will allow us to UBCify LFS,
   which needs tighter control over its pages than other filesystems do.
   writing a page to disk no longer requires making it read-only, which
   allows us to write wired pages without causing all kinds of havoc.
 - use a new PG_PAGEOUT flag to indicate that a page should be freed
   on behalf of the pagedaemon when it's unlocked.  this flag is very similar
   to PG_RELEASED, but unlike PG_RELEASED, PG_PAGEOUT can be cleared if the
   pageout fails due to eg. an indirect-block buffer being locked.
   this allows us to remove the "version" field from struct vm_page,
   and together with shrinking "loan_count" from 32 bits to 16,
   struct vm_page is now 4 bytes smaller.
 - no longer use PG_RELEASED for swap-backed pages.  if the page is busy
   because it's being paged out, we can't release the swap slot to be
   reallocated until that write is complete, but unlike with vnodes we
   don't keep a count of in-progress writes so there's no good way to
   know when the write is done.  instead, when we need to free a busy
   swap-backed page, just sleep until we can get it busy ourselves.
 - implement a fast-path for extending writes which allows us to avoid
   zeroing new pages.  this substantially reduces cpu usage.
 - encapsulate the data used by the genfs code in a struct genfs_node,
   which must be the first element of the filesystem-specific vnode data
   for filesystems which use genfs_{get,put}pages().
 - eliminate many of the UVM pagerops, since they aren't needed anymore
   now that the pager "put" operation is a higher-level operation.
 - enhance the genfs code to allow NFS to use the genfs_{get,put}pages
   instead of a modified copy.
 - clean up struct vnode by removing all the fields that used to be used by
   the vfs_cluster.c code (which we don't use anymore with UBC).
 - remove kmem_object and mb_object since they were useless.
   instead of allocating pages to these objects, we now just allocate
   pages with no object.  such pages are mapped in the kernel until they
   are freed, so we can use the mapping to find the page to free it.
   this allows us to remove splvm() protection in several places.

The sum of all these changes improves write throughput on my
decstation 5000/200 to within 1% of the rate of NetBSD 1.5
and reduces the elapsed time for "make release" of a NetBSD 1.5
source tree on my 128MB pc to 10% less than a 1.5 kernel took.
2001-09-15 20:36:31 +00:00
uch
80d8d09cd7 switch from splvec to ipl_sr_bits. 2001-09-15 19:51:38 +00:00
mrg
002ddf2283 in pci_conf_read() and pci_conf_write(), convert all printf()'s to only
occur if SPDB_CONF (and hence DEBUG).  also convert the panic in
pci_conf_write() to a SPDB_CONF warning and a return.

this cleans up pcictl(8) support.
2001-09-15 19:32:14 +00:00
thorpej
8b531ac998 By poppular demand, don't wildcard "bus" on the "list" command
by default.
2001-09-15 18:35:00 +00:00
wiz
e2a68e27e6 regen (ss, uk, ch, pci) 2001-09-15 18:34:42 +00:00
mrg
3ca38a76ec add comments for previous; fixes MAKEDEV.8 generation. noted by wiz. 2001-09-15 18:31:50 +00:00
chs
3fb05f05f8 use a for loop instead of goto. 2001-09-15 18:20:53 +00:00
thorpej
02951c2ac6 agpopen(): check for NULL softc before dereferencing it. 2001-09-15 18:03:35 +00:00
mrg
9680ade50a add coda (untested; same cdev number as sparc) and pci (tested). 2001-09-15 17:51:02 +00:00
mrg
57dca874e2 create ss, ch, uk and pci devices. 2001-09-15 17:44:47 +00:00
bjh21
91dae8ca83 Add minimal IP-over-Econet support and a load of bug-fixes. I can ping,
unreliably, between my RISC iX and NetBSD boxes with this.  There's a lot
of work to go before it's solid, though.
2001-09-15 17:27:24 +00:00
yamt
1f460cfc38 make it compile when defined(USB_DEBUG)&&defined(SCSIPI_DEBUG)&&!defined(SCSIDEBUG) 2001-09-15 16:47:41 +00:00
simonb
1730261818 Throw out home-grown strdup().
Error check malloc/strdup return values.
2001-09-15 16:45:23 +00:00
chs
5d3eefe245 use pools for allocating most softdep datastructures. since we want to
allocate memory from kernel_map but some of the objects are freed from
interrupt context, we put objects on a queue instead of freeing them
immediately.  then in softdep_process_worklist() (which is called at
least once per second from the syncer), we process that queue and
free all the objects.  allocating from kernel_map instead of from kmem_map
allows us to have a much larger number of softdeps pending even in
configurations where kmem_map is relatively small.
2001-09-15 16:33:53 +00:00
thorpej
daa2a3c1a7 Fix a printf format/argument cast. 2001-09-15 16:28:15 +00:00
yamt
46f9dd9228 correct debug messages. 2001-09-15 16:16:27 +00:00
chs
adf5d360a7 add a new VFS op, vfs_reinit, which is called when desiredvnodes is
adjusted via sysctl.  file systems that have hash tables which are
sized based on the value of this variable now resize those hash tables
using the new value.  the max number of FFS softdeps is also recalculated.

convert various file systems to use the <sys/queue.h> macros for
their hash tables.
2001-09-15 16:12:54 +00:00
simonb
e8bf848218 Unwrap a line that wasn't >80 characters long before it was wrapped. 2001-09-15 15:43:40 +00:00
uch
17d54b69e0 remove unused font_clB8x8_data[]. 2001-09-15 15:27:59 +00:00
uch
ba1ef3e899 ANSIfy. 2001-09-15 15:04:45 +00:00
simonb
0b2413bddc ANSIfy. 2001-09-15 14:55:38 +00:00