HomeFreeBSD

Fix stack zio_execute()

Description

Fix stack zio_execute()

Implement zio_execute() as a wrapper around the static function
zio_execute() so that we can force zio_execute() to be inlined.
This reduces stack overhead which is important because __zio_execute()
is called recursively in several zio code paths. zio_execute() itself
cannot be inlined because it is externally visible.

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

Details

Provenance
Ned Bass <bass6@llnl.gov>Authored on Aug 26 2010, 6:38 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Aug 31 2010, 3:38 PM
Parents
rGc776b317e44a: Fix stack zio_done()
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGda6b4005c92c: Fix stack zio_execute() (authored by Ned Bass <bass6@llnl.gov>).Aug 31 2010, 3:38 PM