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)
Sun, Jan 26, 4:23 AM
Unknown Object (File)
Sat, Jan 25, 8:12 PM
Unknown Object (File)
Dec 26 2024, 10:53 PM
Unknown Object (File)
Nov 27 2024, 12:06 AM
Unknown Object (File)
Oct 4 2024, 9:16 PM
Unknown Object (File)
Oct 4 2024, 7:54 AM
Unknown Object (File)
Oct 4 2024, 4:15 AM
Unknown Object (File)
Oct 3 2024, 10:25 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.