Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Dec 2000 13:44:33 -0800 (PST)
From:      Bosko Milekic <bmilekic@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/musycc musycc.c src/sys/kern uipc_mbuf.c uipc_socket.c uipc_syscalls.c uipc_usrreq.c src/sys/net bpf.c bpf_compat.h if_ef.c if_ethersubr.c if_fddisubr.c if_gif.c if_sl.c if_stf.c ppp_tty.c src/sys/netatalk aarp.c ddp_output.c ...
Message-ID:  <200012212144.eBLLiXv28172@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
bmilekic    2000/12/21 13:44:33 PST

  Modified files:
    sys/dev/musycc       musycc.c 
    sys/kern             uipc_mbuf.c uipc_socket.c uipc_syscalls.c 
                         uipc_usrreq.c 
    sys/net              bpf.c bpf_compat.h if_ef.c if_ethersubr.c 
                         if_fddisubr.c if_gif.c if_sl.c if_stf.c 
                         ppp_tty.c 
    sys/netatalk         aarp.c ddp_output.c 
    sys/netatm           port.h 
    sys/netinet          ip_output.c raw_ip.c 
    sys/netinet6         ip6_fw.c ip6_output.c raw_ip6.c 
    sys/netipx           spx_usrreq.c 
    sys/netncp           ncp_rq.c ncp_sock.c 
    sys/netns            spp_usrreq.c 
    sys/nfs              bootp_subr.c krpc_subr.c nfs_nqlease.c 
                         nfs_serv.c nfs_socket.c nfs_srvcache.c 
                         nfs_subs.c nfs_syscalls.c nfsm_subs.h 
    sys/pci              if_mn.c 
    sys/sys              mbuf.h 
  Log:
  * Rename M_WAIT mbuf subsystem flag to M_TRYWAIT.
    This is because calls with M_WAIT (now M_TRYWAIT) may not wait
    forever when nothing is available for allocation, and may end up
    returning NULL. Hopefully we now communicate more of the right thing
    to developers and make it very clear that it's necessary to check whether
    calls with M_(TRY)WAIT also resulted in a failed allocation.
    M_TRYWAIT basically means "try harder, block if necessary, but don't
    necessarily wait forever." The time spent blocking is tunable with
    the kern.ipc.mbuf_wait sysctl.
    M_WAIT is now deprecated but still defined for the next little while.
  
  * Fix a typo in a comment in mbuf.h
  
  * Fix some code that was actually passing the mbuf subsystem's M_WAIT to
    malloc(). Made it pass M_WAITOK instead. If we were ever to redefine the
    value of the M_WAIT flag, this could have became a big problem.
  
  Revision  Changes    Path
  1.12      +3 -3      src/sys/dev/musycc/musycc.c
  1.60      +10 -10    src/sys/kern/uipc_mbuf.c
  1.86      +10 -10    src/sys/kern/uipc_socket.c
  1.81      +4 -4      src/sys/kern/uipc_syscalls.c
  1.62      +2 -2      src/sys/kern/uipc_usrreq.c
  1.73      +3 -3      src/sys/net/bpf.c
  1.7       +2 -2      src/sys/net/bpf_compat.h
  1.10      +3 -3      src/sys/net/if_ef.c
  1.86      +3 -3      src/sys/net/if_ethersubr.c
  1.47      +2 -2      src/sys/net/if_fddisubr.c
  1.8       +2 -2      src/sys/net/if_gif.c
  1.92      +3 -3      src/sys/net/if_sl.c
  1.5       +2 -2      src/sys/net/if_stf.c
  1.46      +2 -2      src/sys/net/ppp_tty.c
  1.14      +3 -3      src/sys/netatalk/aarp.c
  1.15      +3 -3      src/sys/netatalk/ddp_output.c
  1.4       +2 -2      src/sys/netatm/port.h
  1.117     +2 -2      src/sys/netinet/ip_output.c
  1.72      +2 -2      src/sys/netinet/raw_ip.c
  1.8       +5 -5      src/sys/netinet6/ip6_fw.c
  1.22      +3 -3      src/sys/netinet6/ip6_output.c
  1.10      +2 -2      src/sys/netinet6/raw_ip6.c
  1.29      +2 -2      src/sys/netipx/spx_usrreq.c
  1.2       +9 -9      src/sys/netncp/ncp_rq.c
  1.3       +2 -2      src/sys/netncp/ncp_sock.c
  1.12      +2 -2      src/sys/netns/spp_usrreq.c
  1.27      +2 -2      src/sys/nfs/bootp_subr.c
  1.15      +6 -6      src/sys/nfs/krpc_subr.c
  1.55      +3 -3      src/sys/nfs/nfs_nqlease.c
  1.98      +5 -5      src/sys/nfs/nfs_serv.c
  1.63      +9 -9      src/sys/nfs/nfs_socket.c
  1.27      +3 -3      src/sys/nfs/nfs_srvcache.c
  1.98      +15 -15    src/sys/nfs/nfs_subs.c
  1.64      +3 -3      src/sys/nfs/nfs_syscalls.c
  1.29      +4 -4      src/sys/nfs/nfsm_subs.h
  1.27      +6 -6      src/sys/pci/if_mn.c
  1.66      +8 -7      src/sys/sys/mbuf.h



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200012212144.eBLLiXv28172>