HomeFreeBSD

Fix stack dsl_dataset_destroy()

Description

Fix stack dsl_dataset_destroy()

Move dsl_dataset_t local variable from the stack to the heap.
This reduces the stack usage of this function from 2048 bytes
to 176 bytes for x84_64 arches.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Aug 26 2010, 5:52 PM
Parents
rGa8ac8e715e50: Fix stack dmu_objset_snapshot()
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG81a496638951: Fix stack dsl_dataset_destroy() (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Aug 31 2010, 3:38 PM