Eliminate a comment that doesn't apply to this pmap implementation.
Coalesce the variable definitions for PV entry management. MFC after: 3 weeks
This commit is contained in:
parent
8cadd66d98
commit
1cff4e0108
@ -242,9 +242,10 @@ vm_offset_t kernel_vm_end = 0;
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Data for the pv entry allocation mechanism.
|
* Data for the pv entry allocation mechanism.
|
||||||
* Updates to pv_invl_gen are protected by the pv_list_locks[]
|
|
||||||
* elements, but reads are not.
|
|
||||||
*/
|
*/
|
||||||
|
static TAILQ_HEAD(pch, pv_chunk) pv_chunks = TAILQ_HEAD_INITIALIZER(pv_chunks);
|
||||||
|
static struct mtx pv_chunks_mutex;
|
||||||
|
static struct rwlock pv_list_locks[NPV_LIST_LOCKS];
|
||||||
static struct md_page *pv_table;
|
static struct md_page *pv_table;
|
||||||
static struct md_page pv_dummy;
|
static struct md_page pv_dummy;
|
||||||
|
|
||||||
@ -270,13 +271,6 @@ SYSCTL_INT(_vm_pmap, OID_AUTO, superpages_enabled,
|
|||||||
CTLFLAG_RDTUN | CTLFLAG_NOFETCH, &superpages_enabled, 0,
|
CTLFLAG_RDTUN | CTLFLAG_NOFETCH, &superpages_enabled, 0,
|
||||||
"Are large page mappings enabled?");
|
"Are large page mappings enabled?");
|
||||||
|
|
||||||
/*
|
|
||||||
* Data for the pv entry allocation mechanism
|
|
||||||
*/
|
|
||||||
static TAILQ_HEAD(pch, pv_chunk) pv_chunks = TAILQ_HEAD_INITIALIZER(pv_chunks);
|
|
||||||
static struct mtx pv_chunks_mutex;
|
|
||||||
static struct rwlock pv_list_locks[NPV_LIST_LOCKS];
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Internal flags for pmap_enter()'s helper functions.
|
* Internal flags for pmap_enter()'s helper functions.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user