Commit Graph

75779 Commits

Author SHA1 Message Date
thorpej 896cba1b56 if_alloc_sadl(): if the interface already has a link name, free
it before assigning a new one.  This is useful for interfaces
that may change their link names in the course of their existence.
2001-01-29 01:49:43 +00:00
mrg 6d444f5960 kill the ad clause in my license. 2001-01-29 01:37:56 +00:00
enami 2c218a4926 Handle allmulti case correctly as a NetBSD network driver;
if we are requested range of multicast address or too many multicast address,
program multicast filter to receive all multicast address.   And set/clear
IFF_ALLMULTI flag properly.
2001-01-29 01:24:42 +00:00
jwise b23f161bc0 Change two package names for consistency with base and man. 2001-01-29 01:23:22 +00:00
christos 566893d359 - use MAXPATHLEN to get the array size for the path we store.
- use strlcpy() instead of strncpy() to avoid the off-by-one error
  and the three missing '\0' terminations.
- perform bounds checks to make sure we don't turn this into a random
  memory writing tool using setenv HOME `perl -e 'print "a"x5000'`
2001-01-29 01:22:31 +00:00
itohy a9cd6b907b Performance hack.
Mainly for the Neptune-X Ethernet adaptor,
and improves ftp(1) speed by ~10%.

	get: 219 KB/s -> 246 KB/s
	put: 226 KB/s -> 247 KB/s
	(X68030, MC68030 25MHz)
2001-01-29 01:09:29 +00:00
thorpej 7d60447ce7 Undo rev. 1.2 -- not like it'll do much good -- seems like there is
no code that checks HAVE_MMAP!
2001-01-29 00:24:24 +00:00
thorpej 1779f8f71b Page scanner improvements, behavior is actually a bit more like
Mach VM's now.  Specific changes:
- Pages now need not have all of their mappings removed before being
  put on the inactive list.  They only need to have the "referenced"
  attribute cleared.  This makes putting pages onto the inactive list
  much more efficient.  In order to eliminate redundant clearings of
  "refrenced", callers of uvm_pagedeactivate() must now do this
  themselves.
- When checking the "modified" attribute for a page (for clearing
  PG_CLEAN), make sure to only do it if PG_CLEAN is currently set on
  the page (saves a potentially expensive pmap operation).
- When scanning the inactive list, if a page is referenced, reactivate
  it (this part was actually added in uvm_pdaemon.c,v 1.27).  This
  now works properly now that pages on the inactive list are allowed to
  have mappings.
- When scanning the inactive list and considering a page for freeing,
  remove all mappings, and then check the "modified" attribute if the
  page is marked PG_CLEAN.
- When scanning the active list, if the page was referenced since its
  last sweep by the scanner, don't deactivate it.  (This part was
  actually added in uvm_pdaemon.c,v 1.28.)

These changes greatly improve interactive performance during
moderate to high memory and I/O load.
2001-01-28 23:30:42 +00:00
is 6cec6799ac SIR_CLOCK is gone. 2001-01-28 22:31:53 +00:00
thorpej 1cdff48674 Put the extern decl of uvm_vnodeops in uvm_object.h 2001-01-28 22:23:04 +00:00
jmc f8c082d5a5 Cleanup last set of cleanups so this compiles on systems without
openprom (ala sun3).
2001-01-28 22:22:25 +00:00
is 5d4912dc4b Add NetBSD rcsid, clean up comments. 2001-01-28 22:18:17 +00:00
thorpej 5849b86934 Use UVM_OBJ_IS_VNODE(). 2001-01-28 22:14:52 +00:00
thorpej d1c3f6bab3 Define a UVM_OBJ_IS_VNODE() macro to test if an object is a vnode. 2001-01-28 22:14:28 +00:00
is f7aa87a4a5 Jens Schönfeld seems to recall the name is ISDN link. 2001-01-28 21:43:38 +00:00
ragge e4d9af4b42 A bunch of new CPUs that are supported, from Michael Kukat
(michael@unixiron.org). Among them are 4000/400, 4000/500 and 4000/105A.
2001-01-28 21:01:52 +00:00
pk 5538893eda sun4_dmamap_load(): Check if boundary condition can be satisfied instead
of panicing blindly.
2001-01-28 20:48:31 +00:00
ragge 747983bb5b Fix late "constifying" in ddb. 2001-01-28 20:47:45 +00:00
ragge 630d0523f6 These are not used anymore. 2001-01-28 20:04:50 +00:00
jdolecek b80b95a77a Examine input files and set the openinfo hint accordingly to number of
found records. This makes resulting db for small capability databases
much smaller - for vgrind(1), the resulting vgrindefs.db is about 24KB
instead of ~500KB.

The hint passed to dbopen() is number of records in input files
rounded up to nearest power-of-two value and multiplied by two.
Besides being a nice conservative value, termcap.db become about
70KB bigger if the hint matches the count of records (1023), probably
due to hash overflows.
2001-01-28 20:01:42 +00:00
jdolecek 26a80cb447 make local functions static 2001-01-28 19:42:17 +00:00
ragge 8032849729 Rename dz_ibus to dz_vsbus. 2001-01-28 19:26:34 +00:00
augustss e6de2c6337 Commit second half of rate limit change. 2001-01-28 19:01:20 +00:00
veego dd3a75d700 Make it simpler by using FILES. 2001-01-28 18:45:59 +00:00
jdolecek 8d46cb93bd db_build(): fix memory leak, free() the buffer allocated by cgetnext() on
every loop iteration
2001-01-28 17:34:31 +00:00
itojun 2d889f0dc5 have safeputchar() for tcpdump/packet-isakmp.c. reported by bernd,
sync with kame.
2001-01-28 17:17:56 +00:00
augustss a96a3fa4ca Put a rate limiter on the scheduling overrun message. 2001-01-28 16:18:09 +00:00
itojun 32024e8a3d call if_alloc_sadl(). without it the following operation causes kernel panic:
# ifconfig vlan0 create
# ifconfig vlan0
2001-01-28 10:41:44 +00:00
itojun ca89dc0998 minimize diffs to tcpdump.org tree, even if cosmetic.
changes include:
- do not chase header if ip/ip6 datagram is framgented, and it is not the
  first fragment
- u_short -> u_int16_t
- buffer boundary checks, including sprintf -> snprintf
- cleanup truncated packet cases
- pull tcpdump.org enhancements/corrections for RIP, IPv6 options, ICMPv6,
  OSPFv3, IPv4 options, BGP

there are a lot of local/conflicting changes.  we'd gradually decrease
# of diffs by synchronizing both ends, and then move to src/dist/tcpdump
and reachover makefile.
2001-01-28 10:05:05 +00:00
itojun 3915684b18 remove extra space after typename. sync with tcpdump.org 2001-01-28 07:56:56 +00:00
jwise ae13a53f0d Fix one misplaced file. 2001-01-28 07:55:44 +00:00
itojun b3d0e180ed print A6, DNAME and bit string label correctly.
sync with tcpdump.org.
2001-01-28 07:51:33 +00:00
jwise 7c3186489e Finish adding pkg names to this file. That makes all non-X11 sets.
Systems Package build system will be imported next, X11 sets after that is
in and working.
2001-01-28 07:51:08 +00:00
ichiro 5e870d500f COMPAQ Agency NC5004 Wireless Card(Prism2) work. 2001-01-28 07:18:40 +00:00
ichiro afeced92a0 regen. 2001-01-28 07:15:07 +00:00
ichiro b74006da99 add product id
COMPAQ Wireless Card NC5004(Prism2)
2001-01-28 07:14:47 +00:00
jwise 63f9c5b617 bootselect.0 got lost in last commit re-add. 2001-01-28 07:11:38 +00:00
itojun 4e8a612eef align $TTL with others 2001-01-28 06:59:31 +00:00
jwise 87c684c4d0 Section 9 man pages belong in comp. Catch a few stragglers. 2001-01-28 06:09:27 +00:00
jwise 46496ef27e Another batch of pkg names. 2001-01-28 05:55:02 +00:00
jwise 66855ba100 Move vgrinddefs.db to base-groff-share.
Now that our db(3) can do byte-swapping, should this be in misc?
2001-01-28 04:33:47 +00:00
ichiro 4e97eee598 ass product USB-RSAQ. 2001-01-28 03:48:40 +00:00
ichiro 1225c5883f USB-RSAQ work
but this product was discon.
2001-01-28 03:44:46 +00:00
uch 17b8c0e553 setup platid and config_hook. 2001-01-28 03:40:25 +00:00
uch 2f13dfd80c s/EVBSH3/HPCSH/ 2001-01-28 03:31:30 +00:00
uch 584cfa7669 Switch to MI md_root.c. 2001-01-28 03:09:40 +00:00
nathanw ec72e52bed Advananced Systems Products is now ConnectCom Solutions. 2001-01-28 03:04:18 +00:00
uch 37e1f36fec add hpc dir if MACHINE is hpcmips or hpcsh. 2001-01-28 02:58:19 +00:00
uch 6be22c0c6f hpcmips hpcsh common files are moved to arch/hpc. 2001-01-28 02:52:15 +00:00
nathanw f80f6c9cca Edit for grammar and clarity. 2001-01-28 02:33:04 +00:00