[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.100 and 1.101

version 1.100, 2004/04/25 16:42:41 version 1.101, 2004/05/01 02:24:38
Line 116  struct evcnt sosend_kvalimit = EVCNT_INI
Line 116  struct evcnt sosend_kvalimit = EVCNT_INI
   
 #define SOSEND_COUNTER_INCR(ev)         (ev)->ev_count++  #define SOSEND_COUNTER_INCR(ev)         (ev)->ev_count++
   
   EVCNT_ATTACH_STATIC(sosend_loan_big);
   EVCNT_ATTACH_STATIC(sosend_copy_big);
   EVCNT_ATTACH_STATIC(sosend_copy_small);
   EVCNT_ATTACH_STATIC(sosend_kvalimit);
 #else  #else
   
 #define SOSEND_COUNTER_INCR(ev)         /* nothing */  #define SOSEND_COUNTER_INCR(ev)         /* nothing */
Line 130  soinit(void)
Line 134  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);
   
 #ifdef SOSEND_COUNTERS  
         evcnt_attach_static(&sosend_loan_big);  
         evcnt_attach_static(&sosend_copy_big);  
         evcnt_attach_static(&sosend_copy_small);  
         evcnt_attach_static(&sosend_kvalimit);  
 #endif /* SOSEND_COUNTERS */  
 }  }
   
 #ifdef SOSEND_NO_LOAN  #ifdef SOSEND_NO_LOAN

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

CVSweb <webmaster@jp.NetBSD.org>