Page MenuHomeFreeBSD

Micro-optimize the application of MADV_WILLNEED to existing superpage mappings
ClosedPublic

Authored by alc on Sep 29 2022, 6:16 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, May 22, 12:21 AM
Unknown Object (File)
Tue, May 21, 11:14 PM
Unknown Object (File)
Fri, May 10, 9:09 AM
Unknown Object (File)
Sat, May 4, 11:15 PM
Unknown Object (File)
Apr 26 2024, 6:13 PM
Unknown Object (File)
Apr 25 2024, 10:31 AM
Unknown Object (File)
Apr 24 2024, 11:50 PM
Unknown Object (File)
Apr 24 2024, 11:46 PM

Details

Summary

Specifically, avoid the pointless calls to pmap_enter_quick_locked().

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

alc requested review of this revision.Sep 29 2022, 6:16 PM
This revision is now accepted and ready to land.Sep 29 2022, 8:07 PM
mhorne added inline comments.
sys/amd64/amd64/pmap.c
7321

I believe this is meant to say KERN_RESOURCE_SHORTAGE instead. I can make the adjustment when I commit the related riscv pmap changes, if you like.

sys/amd64/amd64/pmap.c
7321

Yes, you are correct. Yes, please make the fix when you commit the riscv changes.