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, Sep 30, 7:17 PM
Unknown Object (File)
Wed, Sep 30, 5:34 PM
Unknown Object (File)
Mon, Sep 28, 11:06 PM
Unknown Object (File)
Tue, Sep 22, 8:03 PM
Unknown Object (File)
Fri, Sep 11, 12:00 PM
Unknown Object (File)
Sun, Sep 6, 1:13 PM
Unknown Object (File)
Sun, Sep 6, 10:30 AM
Unknown Object (File)
Sun, Sep 6, 2:27 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.