Page MenuHomeFreeBSD

Fix index calculation for the page table pages for efirt 1:1 map.
ClosedPublic

Authored by kib on Nov 27 2017, 5:45 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jan 16, 12:04 PM
Unknown Object (File)
Thu, Jan 8, 10:46 AM
Unknown Object (File)
Tue, Jan 6, 2:05 PM
Unknown Object (File)
Fri, Jan 2, 6:44 PM
Unknown Object (File)
Mon, Dec 29, 10:35 PM
Unknown Object (File)
Thu, Dec 25, 6:12 PM
Unknown Object (File)
Dec 19 2025, 7:31 PM
Unknown Object (File)
Dec 11 2025, 11:37 AM
Subscribers

Details

Summary

Stop issuing pre-assigned number to enumerate all page table pages, instead automatically calculate next free index. This index in fact does not serve any purpose except to be unique to satisfy vm_page_grab() interface. We do not look up the page by the index later.

Reported by: emaste
PR: 223906

Test Plan

I did not tested it, only compiled on amd64. It requires check both on amd64 and arm64.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

EFI RTC works on 96-core arm64 ThunderX with this change.

This revision is now accepted and ready to land.Nov 28 2017, 8:16 AM
This revision was automatically updated to reflect the committed changes.