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)
Nov 25 2024, 6:12 AM
Unknown Object (File)
Nov 22 2024, 5:49 PM
Unknown Object (File)
Oct 24 2024, 4:34 AM
Unknown Object (File)
Oct 2 2024, 7:57 PM
Unknown Object (File)
Sep 20 2024, 3:45 PM
Unknown Object (File)
Sep 19 2024, 3:31 PM
Unknown Object (File)
Sep 17 2024, 4:58 PM
Unknown Object (File)
Sep 7 2024, 6:38 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.