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

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

Diff for /src/sys/uvm/uvm_glue.c between version 1.163.16.1 and 1.163.16.2

version 1.163.16.1, 2018/09/06 06:56:48 version 1.163.16.2, 2018/11/26 01:52:52
Line 246  uarea_poolpage_alloc(struct pool *pp, in
Line 246  uarea_poolpage_alloc(struct pool *pp, in
         if (USPACE == PAGE_SIZE && USPACE_ALIGN == 0) {          if (USPACE == PAGE_SIZE && USPACE_ALIGN == 0) {
                 struct vm_page *pg;                  struct vm_page *pg;
                 vaddr_t va;                  vaddr_t va;
   
 #if defined(PMAP_ALLOC_POOLPAGE)  #if defined(PMAP_ALLOC_POOLPAGE)
                 pg = PMAP_ALLOC_POOLPAGE(                  pg = PMAP_ALLOC_POOLPAGE(
                    ((flags & PR_WAITOK) == 0 ? UVM_KMF_NOWAIT : 0));                     ((flags & PR_WAITOK) == 0 ? UVM_KMF_NOWAIT : 0));
Line 257  uarea_poolpage_alloc(struct pool *pp, in
Line 256  uarea_poolpage_alloc(struct pool *pp, in
                 if (pg == NULL)                  if (pg == NULL)
                         return NULL;                          return NULL;
                 va = PMAP_MAP_POOLPAGE(VM_PAGE_TO_PHYS(pg));                  va = PMAP_MAP_POOLPAGE(VM_PAGE_TO_PHYS(pg));
                 if (va == 0)                  KASSERT(va != 0);
                         uvm_pagefree(pg);  
                 return (void *)va;                  return (void *)va;
         }          }
 #endif  #endif

Legend:
Removed from v.1.163.16.1  
changed lines
  Added in v.1.163.16.2

CVSweb <webmaster@jp.NetBSD.org>