Page MenuHomeFreeBSD

arm64 pmap: batch chunk removal in pmap_remove_pages
ClosedPublic

Authored by andrew on Aug 23 2022, 10:15 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Mar 31, 6:57 PM
Unknown Object (File)
Tue, Mar 31, 6:23 AM
Unknown Object (File)
Mon, Mar 30, 11:49 PM
Unknown Object (File)
Fri, Mar 27, 7:13 AM
Unknown Object (File)
Tue, Mar 24, 3:11 AM
Unknown Object (File)
Thu, Mar 19, 3:28 AM
Unknown Object (File)
Wed, Mar 11, 7:19 PM
Unknown Object (File)
Mar 1 2026, 10:57 AM
Subscribers

Details

Summary

As with amd64 batch chunk removal in pmap_remove_pages to move it out
of the pv list lock. This is one of the main contested locks when
running poudriere on a 160 core Ampere Altra server.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

sys/arm64/arm64/pmap.c
2775

Missing newline.

5440

Do pv chunks need to be freed under the pmap lock?

sys/arm64/arm64/pmap.c
5440

It's the same as amd64. If the comments in D21832 don't apply here I can move it.

sys/arm64/arm64/pmap.c
5440

No, don't move it. The same reason applies here.

This revision was not accepted when it landed; it landed in state Needs Review.Sep 27 2022, 3:15 PM
This revision was automatically updated to reflect the committed changes.