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
F166931126: D36305.diff
Mon, Aug 17, 8:37 PM
F166913112: D36305.id109705.diff
Mon, Aug 17, 5:45 PM
F166913036: D36305.id110209.diff
Mon, Aug 17, 5:44 PM
Unknown Object (File)
Sun, Aug 16, 7:55 PM
Unknown Object (File)
Wed, Aug 12, 7:46 AM
Unknown Object (File)
Tue, Aug 11, 11:15 PM
Unknown Object (File)
Tue, Aug 11, 11:11 PM
Unknown Object (File)
Tue, Aug 11, 8:02 PM
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.