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)
Sun, Sep 28, 11:15 PM
Unknown Object (File)
Sun, Sep 28, 4:43 AM
Unknown Object (File)
Fri, Sep 26, 11:37 PM
Unknown Object (File)
Fri, Sep 26, 4:49 PM
Unknown Object (File)
Thu, Sep 25, 7:50 PM
Unknown Object (File)
Fri, Sep 19, 11:41 PM
Unknown Object (File)
Sep 2 2025, 9:21 AM
Unknown Object (File)
Sep 2 2025, 2:10 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.