Commit Graph

22481 Commits

Author SHA1 Message Date
Brian Behlendorf 48669030fe Reduce stack in vdev_cache_read
Moving the vdev_cache_entry_t struct ve_search from the stack to
the heap saves ~100 bytes.
2010-08-02 13:57:15 -07:00
Brian Behlendorf f5a6a98e5c Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch 2010-08-02 13:55:28 -07:00
Brian Behlendorf 6b1fa460fa Merge commit 'refs/top-bases/linux-zfs-branch' into linux-zfs-branch 2010-08-02 13:55:26 -07:00
Brian Behlendorf afe4a83c54 Merge branch 'linux-have-mlslabel' into refs/top-bases/linux-zfs-branch 2010-08-02 13:55:24 -07:00
Brian Behlendorf 6786aff344 Merge commit 'refs/top-bases/linux-have-mlslabel' into linux-have-mlslabel 2010-08-02 13:55:22 -07:00
Brian Behlendorf d071e15a8d Merge branch 'linux-spa-thread' into refs/top-bases/linux-zfs-branch 2010-08-02 13:55:17 -07:00
Brian Behlendorf 4824a276d8 Merge commit 'refs/top-bases/linux-spa-thread' into linux-spa-thread 2010-08-02 13:55:15 -07:00
Brian Behlendorf e8b47b7c4e Merge branch 'linux-topology' into refs/top-bases/linux-zfs-branch 2010-08-02 13:55:09 -07:00
Brian Behlendorf 511aac76cc Merge commit 'refs/top-bases/linux-topology' into linux-topology 2010-08-02 13:55:07 -07:00
Brian Behlendorf 65369210be Merge branch 'linux-sha2' into refs/top-bases/linux-zfs-branch 2010-08-02 13:55:01 -07:00
Brian Behlendorf fc13234328 Merge commit 'refs/top-bases/linux-sha2' into linux-sha2 2010-08-02 13:54:59 -07:00
Brian Behlendorf 317bdbd316 Merge branch 'linux-user-util' into refs/top-bases/linux-zfs-branch 2010-08-02 13:54:53 -07:00
Brian Behlendorf 31098332ce Merge commit 'refs/top-bases/linux-user-util' into linux-user-util 2010-08-02 13:54:51 -07:00
Brian Behlendorf eea09e5428 Merge branch 'linux-events' into refs/top-bases/linux-zfs-branch 2010-08-02 13:54:45 -07:00
Brian Behlendorf 70e03678eb Merge commit 'refs/top-bases/linux-events' into linux-events 2010-08-02 13:54:43 -07:00
Brian Behlendorf 1170c5fb66 Merge branch 'linux-kernel-module' into refs/top-bases/linux-zfs-branch 2010-08-02 13:54:38 -07:00
Brian Behlendorf 372ea3bb89 Merge commit 'refs/top-bases/linux-kernel-module' into linux-kernel-module 2010-08-02 13:54:36 -07:00
Brian Behlendorf eb2785121c Merge branch 'linux-kernel-device' into refs/top-bases/linux-zfs-branch 2010-08-02 13:54:30 -07:00
Brian Behlendorf 870b549f34 Merge commit 'refs/top-bases/linux-kernel-device' into linux-kernel-device 2010-08-02 13:54:27 -07:00
Brian Behlendorf 11f78903ce Merge branch 'linux-have-idmap' into refs/top-bases/linux-zfs-branch 2010-08-02 13:54:22 -07:00
Brian Behlendorf ec2908d41d Merge commit 'refs/top-bases/linux-have-idmap' into linux-have-idmap 2010-08-02 13:54:20 -07:00
Brian Behlendorf 83210002b5 Merge branch 'linux-ztest' into refs/top-bases/linux-zfs-branch 2010-08-02 13:54:14 -07:00
Brian Behlendorf 640f5d9bdd Merge commit 'refs/top-bases/linux-ztest' into linux-ztest 2010-08-02 13:54:12 -07:00
Brian Behlendorf c09a76482a Merge branch 'linux-unused' into refs/top-bases/linux-zfs-branch 2010-08-02 13:54:06 -07:00
Brian Behlendorf 322761f3bb Merge commit 'refs/top-bases/linux-unused' into linux-unused 2010-08-02 13:54:03 -07:00
Brian Behlendorf 7d01d9e14a Merge branch 'linux-libspl' into refs/top-bases/linux-zfs-branch 2010-08-02 13:53:57 -07:00
Brian Behlendorf 93011db8a0 Merge commit 'refs/top-bases/linux-libspl' into linux-libspl 2010-08-02 13:53:55 -07:00
Brian Behlendorf 28797e3c24 Merge branch 'linux-zpios' into refs/top-bases/linux-zfs-branch 2010-08-02 13:53:49 -07:00
Brian Behlendorf ae9b59dc57 Merge commit 'refs/top-bases/linux-zpios' into linux-zpios 2010-08-02 13:53:47 -07:00
Brian Behlendorf 709f29d4b4 Merge branch 'linux-user-disk' into refs/top-bases/linux-zfs-branch 2010-08-02 13:53:41 -07:00
Brian Behlendorf e34cd4b934 Merge commit 'refs/top-bases/linux-user-disk' into linux-user-disk 2010-08-02 13:53:39 -07:00
Brian Behlendorf cec941cc50 Merge branch 'linux-symbol-collisions' into refs/top-bases/linux-zfs-branch 2010-08-02 13:53:33 -07:00
Brian Behlendorf 41adcd0edc Merge commit 'refs/top-bases/linux-symbol-collisions' into linux-symbol-collisions 2010-08-02 13:53:31 -07:00
Brian Behlendorf a1a351a609 Merge branch 'linux-kernel-mem' into refs/top-bases/linux-zfs-branch 2010-08-02 13:53:25 -07:00
Brian Behlendorf 68cfa060f7 Merge commit 'refs/top-bases/linux-kernel-mem' into linux-kernel-mem 2010-08-02 13:53:23 -07:00
Brian Behlendorf 5fd80ff7ef Merge branch 'linux-kernel-disk' into refs/top-bases/linux-zfs-branch 2010-08-02 13:53:17 -07:00
Brian Behlendorf b4c4755bb0 Merge commit 'refs/top-bases/linux-kernel-disk' into linux-kernel-disk 2010-08-02 13:53:15 -07:00
Brian Behlendorf 341b493185 Merge branch 'linux-have-spl-debug' into refs/top-bases/linux-zfs-branch 2010-08-02 13:53:08 -07:00
Brian Behlendorf 14422e4259 Merge commit 'refs/top-bases/linux-have-spl-debug' into linux-have-spl-debug 2010-08-02 13:53:06 -07:00
Brian Behlendorf ec04ed0fbb Merge branch 'linux-have-mntent' into refs/top-bases/linux-zfs-branch 2010-08-02 13:53:00 -07:00
Brian Behlendorf c0c23fb02f Merge commit 'refs/top-bases/linux-have-mntent' into linux-have-mntent 2010-08-02 13:52:58 -07:00
Brian Behlendorf fd164fdb40 Merge commit 'refs/top-bases/zfs-branch' into zfs-branch 2010-08-02 13:52:57 -07:00
Brian Behlendorf 5d145c70f1 Merge branch 'fix-branch' into refs/top-bases/zfs-branch 2010-08-02 13:52:56 -07:00
Brian Behlendorf 215b84f12f Merge branch 'fix-stack-inline' into refs/top-bases/fix-branch 2010-08-02 13:49:05 -07:00
Brian Behlendorf 0002f6f7e5 Merge commit 'refs/top-bases/fix-branch' into fix-branch 2010-08-02 13:49:05 -07:00
Brian Behlendorf 8d443f35c4 Merge branch 'fix-stack-ztest' into refs/top-bases/fix-branch 2010-08-02 13:49:04 -07:00
Brian Behlendorf 084b700b92 New TopGit dependency: fix-stack-inline 2010-08-02 13:49:02 -07:00
Ned Bass 411dd65af1 Inline zio_execute() to reduce stack use
Deep recursive call chains are contributing to segfaults in ztest due to
heavy stack use.  Inlining zio_execute() helps reduce the stack depth of
the zio_notify_parent() -> zio_execute() -> zio_wait() recursive cycle.
I am no longer seeing ztest segfaults in this code path with this change.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
2010-08-02 13:47:49 -07:00
Ned Bass 526d004cf5 Inline dbuf_findbp() to reduce stack use
Deep recursive call chains are contributing to segfaults in ztest due
to heavy stack use.  Inlining dbuf_findbp() helps reduce the stack depth
of the dbuf_findbp() -> dbuf_hold_impl() cycle.  However, segfaults are
still occurring in this code path, so further reductions are still needed.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
2010-08-02 13:47:21 -07:00
Ned Bass dd72f3d647 Inline zio_notify_parent() to reduce stack use
Deep recursive call chains are contributing to segfaults in ztest due
to heavy stack use.  Inlining zio_notify_parent() helps reduce the
stack depth of the zio_notify_parent() -> zio_execute() -> zio_done()
recursive cycle.  I am no longer seeing ztest segfaults in this code
path with this change combined with the zio_done() stack reduction in
the previous commit.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
2010-08-02 13:46:48 -07:00