NetBSD/sys/net
thorpej a180cee23b Pool deals fairly well with physical memory shortage, but it doesn't
deal with shortages of the VM maps where the backing pages are mapped
(usually kmem_map).  Try to deal with this:

* Group all information about the backend allocator for a pool in a
  separate structure.  The pool references this structure, rather than
  the individual fields.
* Change the pool_init() API accordingly, and adjust all callers.
* Link all pools using the same backend allocator on a list.
* The backend allocator is responsible for waiting for physical memory
  to become available, but will still fail if it cannot callocate KVA
  space for the pages.  If this happens, carefully drain all pools using
  the same backend allocator, so that some KVA space can be freed.
* Change pool_reclaim() to indicate if it actually succeeded in freeing
  some pages, and use that information to make draining easier and more
  efficient.
* Get rid of PR_URGENT.  There was only one use of it, and it could be
  dealt with by the caller.

From art@openbsd.org.
2002-03-08 20:48:27 +00:00
..
Makefile Install net/ieee1394.h the same way we install all the other 2001-10-05 12:37:39 +00:00
bpf.c add RCSIDs 2001-11-12 23:49:33 +00:00
bpf.h Use __sh__ instead of __sh3__. 2001-12-14 23:30:02 +00:00
bpf_filter.c don't need <sys/types.h> when including <sys/param.h> 2001-11-15 09:47:59 +00:00
bpfdesc.h
bridgestp.c add RCSIDs 2001-11-12 23:49:33 +00:00
bsd-comp.c don't need <sys/types.h> when including <sys/param.h> 2001-11-15 09:47:59 +00:00
dlt.h Add MI Econet support. This is lacking any interfaces to higher-layer 2001-09-10 23:11:05 +00:00
ethertypes.h Add the Ethertype for 802.3x flow control packets. 2002-02-10 01:28:32 +00:00
if.c (1) Make if_index "wrap" at USHRT_MAX instead of going above it so 2002-02-09 05:56:34 +00:00
if.h Split the pre-computed ifnet checksum flags into Tx and Rx directions. 2001-09-17 17:26:59 +00:00
if_arc.h
if_arcsubr.c bring in latest ALTQ from kjc. ALTQify some of the drivers. 2002-03-05 04:12:57 +00:00
if_arp.h receive, not recieve 2001-06-12 15:17:10 +00:00
if_atm.h Fix typo. s/extention/extension/ 2001-07-05 08:38:24 +00:00
if_atmsubr.c add RCSIDs 2001-11-12 23:49:33 +00:00
if_bridge.c Pool deals fairly well with physical memory shortage, but it doesn't 2002-03-08 20:48:27 +00:00
if_bridgevar.h Add support for building Ethernet bridges, based on Jason Wright's 2001-08-17 21:37:27 +00:00
if_dl.h
if_eco.h Add retry mechanisms for Econet, so that if a four-way handshake doesn't 2001-09-17 22:41:59 +00:00
if_ecosubr.c add RCSIDs 2001-11-12 23:49:33 +00:00
if_ether.h bring in latest ALTQ from kjc. ALTQify some of the drivers. 2002-03-05 04:12:57 +00:00
if_ethersubr.c bring in latest ALTQ from kjc. ALTQify some of the drivers. 2002-03-05 04:12:57 +00:00
if_faith.c Someone <sys/param.h> was deleted from the includes list. Add it 2001-11-15 07:01:27 +00:00
if_faith.h
if_fddi.h withough -> without 2001-06-13 10:45:57 +00:00
if_fddisubr.c add RCSIDs 2001-11-12 23:49:33 +00:00
if_gif.c bring in latest ALTQ from kjc. ALTQify some of the drivers. 2002-03-05 04:12:57 +00:00
if_gif.h gif interface now uses generic software interrupt 2001-08-16 17:45:25 +00:00
if_gre.c Clear M_BCAST and M_MCAST on outgoing mbufs. 2002-02-24 17:22:20 +00:00
if_gre.h Clear M_BCAST and M_MCAST on outgoing mbufs. 2002-02-24 17:22:20 +00:00
if_hippi.h
if_hippisubr.c add RCSIDs 2001-11-12 23:49:33 +00:00
if_ieee1394.h
if_ieee1394subr.c bring in latest ALTQ from kjc. ALTQify some of the drivers. 2002-03-05 04:12:57 +00:00
if_ieee80211.h Fix for FH infrastructure mode. 2001-09-19 04:09:54 +00:00
if_ieee80211subr.c add RCSIDs 2001-11-12 23:49:33 +00:00
if_llc.h
if_loop.c add RCSIDs 2001-11-12 23:49:33 +00:00
if_media.c add RCSIDs 2001-11-12 23:49:33 +00:00
if_media.h Rename an IFM_1000_TX occurrence missed in previous. 2001-06-30 21:23:39 +00:00
if_ppp.c bring in latest ALTQ from kjc. ALTQify some of the drivers. 2002-03-05 04:12:57 +00:00
if_ppp.h
if_pppoe.c Avoid noise from the kernel if we have pseudo-device pppoe configured 2002-03-04 15:15:05 +00:00
if_pppoe.h Move net/if_sppp.h to net/if_spppvar.h, create a new net/if_sppp.h 2002-01-04 12:21:24 +00:00
if_pppvar.h
if_sl.c Include <machine/intr.h> unconditionally, instead of only doing so if 2002-01-14 18:19:15 +00:00
if_slvar.h change the meaning of ifnet.if_lastchange to meet RFC1573 ifLastChange. 2001-06-14 05:44:23 +00:00
if_sppp.h Add support to query the peer for DNS addreses when negotiating IPCP. 2002-03-02 16:23:42 +00:00
if_spppsubr.c Add support to query the peer for DNS addreses when negotiating IPCP. 2002-03-02 16:23:42 +00:00
if_spppvar.h Add support to query the peer for DNS addreses when negotiating IPCP. 2002-03-02 16:23:42 +00:00
if_stf.c move protosw fragment for gif/stf to their own source code. 2001-12-21 03:21:50 +00:00
if_stf.h
if_strip.c Typo fix. 2002-02-26 14:54:50 +00:00
if_stripvar.h change the meaning of ifnet.if_lastchange to meet RFC1573 ifLastChange. 2001-06-14 05:44:23 +00:00
if_token.h
if_tokensubr.c add RCSIDs 2001-11-12 23:49:33 +00:00
if_tun.c bring in latest ALTQ from kjc. ALTQify some of the drivers. 2002-03-05 04:12:57 +00:00
if_tun.h Turn the tun device/network interface into a cloning device. 2001-10-31 20:08:17 +00:00
if_types.h Sync with IANA. This finally gets us IFT_ECONET. 2001-11-07 12:14:17 +00:00
if_vlan.c add RCSIDs 2001-11-12 23:49:33 +00:00
if_vlanvar.h
net_osdep.c whitespace and comment. sync with kame 2001-12-21 02:50:02 +00:00
net_osdep.h whitespace and comment. sync with kame 2001-12-21 02:50:02 +00:00
netisr.h The bridge driver does all forwarding at interrupt level, and 2001-10-06 15:46:33 +00:00
netisr_dispatch.h The bridge driver does all forwarding at interrupt level, and 2001-10-06 15:46:33 +00:00
pfil.c add RCSIDs 2001-11-12 23:49:33 +00:00
pfil.h
pfkeyv2.h pass replay sequence number on sadb_x_sa2 (it's outside of PF_KEY standard 2001-08-02 12:10:14 +00:00
ppp-comp.h
ppp-deflate.c don't need <sys/types.h> when including <sys/param.h> 2001-11-15 09:47:59 +00:00
ppp_defs.h
ppp_tty.c bring in latest ALTQ from kjc. ALTQify some of the drivers. 2002-03-05 04:12:57 +00:00
radix.c add RCSIDs 2001-11-12 23:49:33 +00:00
radix.h
raw_cb.c add RCSIDs 2001-11-12 23:49:33 +00:00
raw_cb.h
raw_usrreq.c add RCSIDs 2001-11-12 23:49:33 +00:00
route.c Pool deals fairly well with physical memory shortage, but it doesn't 2002-03-08 20:48:27 +00:00
route.h
rtsock.c PR/15703: Sean Boudreau: Case in route_output() where struct rtentry *rt 2002-02-22 17:26:31 +00:00
slcompress.c add RCSIDs 2001-11-12 23:49:33 +00:00
slcompress.h
slip.h
zlib.c Do not provide memcpy()/memset()/memcmp() macros as wrappers 2001-12-23 22:36:16 +00:00
zlib.h