1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00

Increment pmap_pvo_count in the right place.

This commit is contained in:
Benno Rice 2002-03-20 05:25:33 +00:00
parent 14e10f9952
commit 21d7ec8915
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=92757
3 changed files with 3 additions and 3 deletions

View File

@ -1871,9 +1871,9 @@ pmap_pvo_allocf(uma_zone_t zone, int bytes, u_int8_t *flags, int wait)
*flags = UMA_SLAB_PRIV;
m = vm_page_alloc(pmap_pvo_obj, pmap_pvo_count, VM_ALLOC_SYSTEM);
pmap_pvo_count++;
if (m == NULL)
return (NULL);
pmap_pvo_count++;
return ((void *)VM_PAGE_TO_PHYS(m));
}

View File

@ -1871,9 +1871,9 @@ pmap_pvo_allocf(uma_zone_t zone, int bytes, u_int8_t *flags, int wait)
*flags = UMA_SLAB_PRIV;
m = vm_page_alloc(pmap_pvo_obj, pmap_pvo_count, VM_ALLOC_SYSTEM);
pmap_pvo_count++;
if (m == NULL)
return (NULL);
pmap_pvo_count++;
return ((void *)VM_PAGE_TO_PHYS(m));
}

View File

@ -1871,9 +1871,9 @@ pmap_pvo_allocf(uma_zone_t zone, int bytes, u_int8_t *flags, int wait)
*flags = UMA_SLAB_PRIV;
m = vm_page_alloc(pmap_pvo_obj, pmap_pvo_count, VM_ALLOC_SYSTEM);
pmap_pvo_count++;
if (m == NULL)
return (NULL);
pmap_pvo_count++;
return ((void *)VM_PAGE_TO_PHYS(m));
}