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)
Feb 10 2024, 9:33 PM
Unknown Object (File)
Feb 2 2024, 10:45 PM
Unknown Object (File)
Dec 20 2023, 1:42 AM
Unknown Object (File)
Dec 20 2023, 1:42 AM
Unknown Object (File)
Nov 11 2023, 10:49 PM
Unknown Object (File)
Aug 24 2023, 2:10 AM
Unknown Object (File)
May 20 2023, 10:51 PM
Unknown Object (File)
Apr 25 2023, 11:29 PM
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.