mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
Eliminate unnecessary indirection.
This commit is contained in:
parent
cd0bd20d63
commit
c3d11d22be
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=134453
@ -1879,8 +1879,8 @@ pmap_pvo_enter(pmap_t pm, uma_zone_t zone, struct pvo_head *pvo_head,
|
||||
|
||||
LIST_INSERT_HEAD(pvo_head, pvo, pvo_vlink);
|
||||
if (pvo->pvo_pte.pte_lo & PVO_WIRED)
|
||||
pvo->pvo_pmap->pm_stats.wired_count++;
|
||||
pvo->pvo_pmap->pm_stats.resident_count++;
|
||||
pm->pm_stats.wired_count++;
|
||||
pm->pm_stats.resident_count++;
|
||||
|
||||
/*
|
||||
* We hope this succeeds but it isn't required.
|
||||
|
@ -1879,8 +1879,8 @@ pmap_pvo_enter(pmap_t pm, uma_zone_t zone, struct pvo_head *pvo_head,
|
||||
|
||||
LIST_INSERT_HEAD(pvo_head, pvo, pvo_vlink);
|
||||
if (pvo->pvo_pte.pte_lo & PVO_WIRED)
|
||||
pvo->pvo_pmap->pm_stats.wired_count++;
|
||||
pvo->pvo_pmap->pm_stats.resident_count++;
|
||||
pm->pm_stats.wired_count++;
|
||||
pm->pm_stats.resident_count++;
|
||||
|
||||
/*
|
||||
* We hope this succeeds but it isn't required.
|
||||
|
@ -1879,8 +1879,8 @@ pmap_pvo_enter(pmap_t pm, uma_zone_t zone, struct pvo_head *pvo_head,
|
||||
|
||||
LIST_INSERT_HEAD(pvo_head, pvo, pvo_vlink);
|
||||
if (pvo->pvo_pte.pte_lo & PVO_WIRED)
|
||||
pvo->pvo_pmap->pm_stats.wired_count++;
|
||||
pvo->pvo_pmap->pm_stats.resident_count++;
|
||||
pm->pm_stats.wired_count++;
|
||||
pm->pm_stats.resident_count++;
|
||||
|
||||
/*
|
||||
* We hope this succeeds but it isn't required.
|
||||
|
Loading…
Reference in New Issue
Block a user