OpenSolaris

Printable Version Enter a New Search
Bug ID 6587018
Synopsis Per zone brand specific data structure needed
State 10-Fix Delivered (Fix available in build)
Category:Subcategory kernel:brandz
Keywords
Responsible Engineer Evan Hoke
Reported Against snv_71
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_72
Fixed In snv_72
Release Fixed solaris_nevada(snv_72)
Related Bugs 6409350
Submit Date 30-July-2007
Last Update Date 31-August-2007
Description
Brand specific data structure needed perzone. One application for this data structure for lx zones would be to store the version of the linux kernel we are emulating. I plan to implement this data structure by adding a void *zone_brand_data to zone_t to point to the data structure. I also plan to add two new hooks to brand_ops, b_createbrand, and b_freebrand, which brands could then use to initialize and free zone_brand_data.
the brandz framework allows for brand specific zone properties but
doesn't provide any place for brands to save these properties when
they are set.  one option would be for brands to use zsd, but zsd
is slow isn't a good option if any of this per-zone data needs to
be in a performance critical path.  a much better solution is to
simply provide brands with an abstract pointer in the zones structure
that they can use to maintain private per-zone data.  this would be
similar to the existing per-proc and per-lwp brand private data
pointers that we already have.
Work Around
N/A
Comments
N/A