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
F109274056: D22564.diff
Sun, Feb 2, 9:53 PM
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
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

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 27790
Build 25975: arc lint + arc unit

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

Fix indentation while here?

sys/vm/vm_page.h
223

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

You are right this is unused AFAICT.