]> git.proxmox.com Git - mirror_zfs.git/commit - include/sys/zfs_context.h
Fix stack noinline
authorBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 26 Aug 2010 17:58:36 +0000 (10:58 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 31 Aug 2010 15:38:49 +0000 (08:38 -0700)
commit60948de1ef976aabaa3630707bcc8b5867508507
tree12d5530b229402e5b9f939f52eff043e84d3da76
parent18a89ba43d3e5e8a31d50838c93ec26d1cb27429
Fix stack noinline

Certain function must never be automatically inlined by gcc because
they are stack heavy or called recursively.  This patch flags all
such functions I've found as 'noinline' to prevent gcc from making
the optimization.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
lib/libzpool/include/sys/zfs_context.h
module/zfs/dbuf.c
module/zfs/dmu_send.c