Page MenuHomeFreeBSD

Remove the relatively unused us_keg field. Store the zone along withthe slab in the page for malloc.
ClosedPublic

Authored by jeff on Nov 26 2019, 10:22 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 20 2023, 4:44 AM
Unknown Object (File)
Oct 19 2023, 3:48 AM
Unknown Object (File)
Sep 3 2023, 1:03 AM
Unknown Object (File)
Sep 3 2023, 1:02 AM
Unknown Object (File)
Sep 3 2023, 1:01 AM
Unknown Object (File)
Aug 28 2023, 4:58 AM
Unknown Object (File)
Jul 15 2023, 10:20 PM
Unknown Object (File)
Jun 26 2023, 11:19 PM
Subscribers

Details

Summary

This hasn't been necessary since multi keg zones were removed.

Catch up to other NOOBJ page users and add uma to the union for clarity. Malloc still wants the zone to free to but conveniently we have space for another pointer.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jeff retitled this revision from Remove the relatively unused us_keg field. Store the zone along with the slab in the page for malloc. to Remove the relatively unused us_keg field. Store the zone along withthe slab in the page for malloc..Nov 26 2019, 10:26 PM
jeff edited the summary of this revision. (Show Details)
jeff added reviewers: glebius, markj, rlibby.
markj added inline comments.
sys/vm/uma_core.c
4185 ↗(On Diff #64919)

Fix indentation while here?

sys/vm/vm_page.h
223 ↗(On Diff #64919)

Is this field used anymore?

This revision is now accepted and ready to land.Nov 27 2019, 4:22 PM
sys/vm/vm_page.h
223 ↗(On Diff #64919)

You are right this is unused AFAICT.