[BACK]Return to uipc_socket.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / kern

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/kern/uipc_socket.c between version 1.99 and 1.100

version 1.99, 2004/04/22 01:01:40 version 1.100, 2004/04/25 16:42:41
Line 94  __KERNEL_RCSID(0, "$NetBSD$");
Line 94  __KERNEL_RCSID(0, "$NetBSD$");
   
 #include <uvm/uvm.h>  #include <uvm/uvm.h>
   
 struct pool     socket_pool;  POOL_INIT(socket_pool, sizeof(struct socket), 0, 0, 0, "sockpl", NULL);
   
 MALLOC_DEFINE(M_SOOPTS, "soopts", "socket options");  MALLOC_DEFINE(M_SOOPTS, "soopts", "socket options");
 MALLOC_DEFINE(M_SONAME, "soname", "socket name");  MALLOC_DEFINE(M_SONAME, "soname", "socket name");
Line 130  soinit(void)
Line 130  soinit(void)
         if (sb_max_set(sb_max))          if (sb_max_set(sb_max))
                 panic("bad initial sb_max value: %lu\n", sb_max);                  panic("bad initial sb_max value: %lu\n", sb_max);
   
         pool_init(&socket_pool, sizeof(struct socket), 0, 0, 0,  
             "sockpl", NULL);  
   
 #ifdef SOSEND_COUNTERS  #ifdef SOSEND_COUNTERS
         evcnt_attach_static(&sosend_loan_big);          evcnt_attach_static(&sosend_loan_big);
         evcnt_attach_static(&sosend_copy_big);          evcnt_attach_static(&sosend_copy_big);

Legend:
Removed from v.1.99  
changed lines
  Added in v.1.100

CVSweb <webmaster@jp.NetBSD.org>