Update a comment to reflect recent locking changes.

This commit is contained in:
Alan Cox 2012-09-29 08:11:12 +00:00
parent 891122d180
commit 208d06cea8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=241044

View File

@ -4562,13 +4562,13 @@ pmap_mincore(pmap_t pmap, vm_offset_t addr, vm_paddr_t *locked_pa)
managed = true;
if (managed) {
/*
* the ARM pmap tries to maintain a per-mapping
* The ARM pmap tries to maintain a per-mapping
* reference bit. The trouble is that it's kept in
* the PV entry, not the PTE, so it's costly to access
* here. You would need to acquire the page queues
* here. You would need to acquire the pvh global
* lock, call pmap_find_pv(), and introduce a custom
* version of vm_page_pa_tryrelock() that releases and
* reacquires the page queues lock. In the end, I
* reacquires the pvh global lock. In the end, I
* doubt it's worthwhile. This may falsely report
* the given address as referenced.
*/