[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.107.4.1 and 1.108

version 1.107.4.1, 2005/04/29 11:29:24 version 1.108, 2005/02/26 21:34:55
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_alloc(kernel_map, len, 0, UVM_KMF_VAONLY | UVM_KMF_WAITVA);          lva = uvm_km_valloc_wait(kernel_map, len);
         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_KMF_VAONLY);          uvm_km_free(kernel_map, sva, len);
   
         /*          /*
          * unreserve kva.           * unreserve kva.

Legend:
Removed from v.1.107.4.1  
changed lines
  Added in v.1.108

CVSweb <webmaster@jp.NetBSD.org>