Page MenuHomeFreeBSD

uma: pcpu_page_free needs to startup_free pages from startup_alloc
ClosedPublic

Authored by rlibby on Feb 4 2020, 12:58 AM.

Details

Summary

After r357392, it is apparent that we do have some early-boot PCPU
zones. Make it so we can safely free pages from them if they are
actually used during early boot.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

rlibby created this revision.Feb 4 2020, 12:58 AM
jeff accepted this revision.Feb 4 2020, 1:17 AM

I just considered that it might be cleaner to test for this once in keg_free_slab but this is fine.

This revision is now accepted and ready to land.Feb 4 2020, 1:17 AM
markj accepted this revision.Feb 4 2020, 1:36 AM