[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.83.2.8 and 1.83.2.9

version 1.83.2.8, 2005/03/04 16:52:02 version 1.83.2.9, 2005/04/01 14:30:57
Line 234  sokvaalloc(vsize_t len, struct socket *s
Line 234  sokvaalloc(vsize_t len, struct socket *s
          * allocate kva.           * allocate kva.
          */           */
   
         lva = uvm_km_valloc_wait(kernel_map, len);          lva = uvm_km_alloc(kernel_map, len, 0, UVM_KMF_VAONLY | UVM_KMF_WAITVA);
         if (lva == 0) {          if (lva == 0) {
                 sokvaunreserve(len);                  sokvaunreserve(len);
                 return (0);                  return (0);
Line 255  sokvafree(vaddr_t sva, vsize_t len)
Line 255  sokvafree(vaddr_t sva, vsize_t len)
          * free kva.           * free kva.
          */           */
   
         uvm_km_free(kernel_map, sva, len);          uvm_km_free(kernel_map, sva, len, UVM_KMF_VAONLY);
   
         /*          /*
          * unreserve kva.           * unreserve kva.

Legend:
Removed from v.1.83.2.8  
changed lines
  Added in v.1.83.2.9

CVSweb <webmaster@jp.NetBSD.org>