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)
Sat, May 16, 7:31 AM
Unknown Object (File)
May 6 2026, 9:51 AM
Unknown Object (File)
May 3 2026, 11:48 PM
Unknown Object (File)
May 3 2026, 10:08 AM
Unknown Object (File)
May 3 2026, 7:16 AM
Unknown Object (File)
Apr 29 2026, 11:16 PM
Unknown Object (File)
Apr 28 2026, 12:11 PM
Unknown Object (File)
Apr 26 2026, 8:20 PM

Details

Summary

Specifically, avoid the pointless calls to pmap_enter_quick_locked().

Diff Detail

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

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.