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)
Wed, Oct 15, 12:47 AM
Unknown Object (File)
Tue, Oct 14, 4:04 PM
Unknown Object (File)
Tue, Oct 14, 4:04 PM
Unknown Object (File)
Tue, Oct 14, 4:04 PM
Unknown Object (File)
Tue, Oct 14, 3:47 PM
Unknown Object (File)
Tue, Oct 14, 3:02 AM
Unknown Object (File)
Tue, Oct 14, 2:00 AM
Unknown Object (File)
Sat, Oct 4, 3:48 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.