Commit Graph

19503 Commits

Author SHA1 Message Date
Brian Behlendorf 8af57a28ce Merge branch 'linux-have-mntent' into refs/top-bases/linux-zfs-branch 2010-06-29 11:34:42 -07:00
Brian Behlendorf 5c0cbee2f3 Merge commit 'refs/top-bases/linux-have-mntent' into linux-have-mntent 2010-06-29 11:34:39 -07:00
Brian Behlendorf 5fd2bd24a7 Merge commit 'refs/top-bases/zfs-branch' into zfs-branch 2010-06-29 11:34:38 -07:00
Brian Behlendorf a0796cadf7 Merge branch 'fix-branch' into refs/top-bases/zfs-branch
Conflicts:

	cmd/ztest/ztest.c
2010-06-29 11:34:31 -07:00
Brian Behlendorf ed1d1a7957 Merge commit 'refs/top-bases/fix-branch' into fix-branch 2010-06-29 11:28:37 -07:00
Brian Behlendorf 0efc05dd6f Merge branch 'fix-stack-ztest' into refs/top-bases/fix-branch 2010-06-29 11:28:36 -07:00
Brian Behlendorf 865478a113 Update dependency fix-pthreads changes to fix-stack-ztest
This was done becaese fix-stack-ztest was added to the stack
in series after fix-pthreads because fix-stack-ztest depends
on many of the pthreads changes.
2010-06-29 11:27:33 -07:00
Brian Behlendorf ef01098ef4 Reduce stack used by ztest
While ztest does run in user space we run it with the same stack
restrictions it would have in kernel space.  This ensures that any
stack related issues which would be hit in the kernel can be caught
and debugged in user space instead.

This patch is a first pass to limit the stack usage of every ztest
function to 1024 bytes.  Subsequent updates can further reduce this
2010-06-29 11:25:08 -07:00
Brian Behlendorf eed002ed41 Merge branch 'linux-spa-thread' into refs/top-bases/linux-zfs-branch 2010-06-29 11:14:23 -07:00
Brian Behlendorf a19df13637 Merge commit 'refs/top-bases/linux-spa-thread' into linux-spa-thread 2010-06-29 11:14:20 -07:00
Brian Behlendorf 53d4a1d1db Merge branch 'linux-topology' into refs/top-bases/linux-zfs-branch 2010-06-29 11:14:15 -07:00
Brian Behlendorf 54f351767b Merge commit 'refs/top-bases/linux-topology' into linux-topology 2010-06-29 11:14:13 -07:00
Brian Behlendorf 7f8ffad52e Merge branch 'linux-sha2' into refs/top-bases/linux-zfs-branch 2010-06-29 11:14:07 -07:00
Brian Behlendorf 4b345dd860 Merge commit 'refs/top-bases/linux-sha2' into linux-sha2 2010-06-29 11:14:05 -07:00
Brian Behlendorf 720a0a8449 Merge branch 'linux-user-util' into refs/top-bases/linux-zfs-branch 2010-06-29 11:13:59 -07:00
Brian Behlendorf a5d3994e26 Merge commit 'refs/top-bases/linux-user-util' into linux-user-util 2010-06-29 11:13:57 -07:00
Brian Behlendorf c2d4a3ca84 Merge branch 'linux-events' into refs/top-bases/linux-zfs-branch 2010-06-29 11:13:51 -07:00
Brian Behlendorf 4e8b0b7409 Merge commit 'refs/top-bases/linux-events' into linux-events 2010-06-29 11:13:48 -07:00
Brian Behlendorf 48974be14f Merge branch 'linux-kernel-module' into refs/top-bases/linux-zfs-branch 2010-06-29 11:13:43 -07:00
Brian Behlendorf 3658e74315 Merge commit 'refs/top-bases/linux-kernel-module' into linux-kernel-module 2010-06-29 11:13:41 -07:00
Brian Behlendorf 23b99f668a Merge branch 'linux-kernel-device' into refs/top-bases/linux-zfs-branch 2010-06-29 11:13:34 -07:00
Brian Behlendorf 7b10b97c18 Merge commit 'refs/top-bases/linux-kernel-device' into linux-kernel-device 2010-06-29 11:13:32 -07:00
Brian Behlendorf bc388a233d Merge branch 'linux-have-idmap' into refs/top-bases/linux-zfs-branch 2010-06-29 11:13:26 -07:00
Brian Behlendorf 4da53a7f80 Merge commit 'refs/top-bases/linux-have-idmap' into linux-have-idmap 2010-06-29 11:13:24 -07:00
Brian Behlendorf 1765bb6de4 Merge branch 'linux-ztest' into refs/top-bases/linux-zfs-branch 2010-06-29 11:13:18 -07:00
Brian Behlendorf 0b7fd7da93 Merge commit 'refs/top-bases/linux-ztest' into linux-ztest 2010-06-29 11:13:15 -07:00
Brian Behlendorf 712f2df055 Merge branch 'linux-unused' into refs/top-bases/linux-zfs-branch 2010-06-29 11:13:09 -07:00
Brian Behlendorf 622344e49f Merge commit 'refs/top-bases/linux-unused' into linux-unused 2010-06-29 11:13:07 -07:00
Brian Behlendorf 9552553fcc Merge branch 'linux-libspl' into refs/top-bases/linux-zfs-branch 2010-06-29 11:13:01 -07:00
Brian Behlendorf 83497040f1 Merge commit 'refs/top-bases/linux-libspl' into linux-libspl 2010-06-29 11:12:59 -07:00
Brian Behlendorf 1c14bf7f13 Merge branch 'linux-zpios' into refs/top-bases/linux-zfs-branch 2010-06-29 11:12:53 -07:00
Brian Behlendorf a0e90a15ec Merge commit 'refs/top-bases/linux-zpios' into linux-zpios 2010-06-29 11:12:51 -07:00
Brian Behlendorf 3588a7bcff Merge branch 'linux-user-disk' into refs/top-bases/linux-zfs-branch 2010-06-29 11:12:45 -07:00
Brian Behlendorf 6f13acca78 Merge commit 'refs/top-bases/linux-user-disk' into linux-user-disk 2010-06-29 11:12:43 -07:00
Brian Behlendorf 7ecf93ff8e Merge branch 'linux-symbol-collisions' into refs/top-bases/linux-zfs-branch 2010-06-29 11:12:36 -07:00
Brian Behlendorf e8c327458b Merge commit 'refs/top-bases/linux-symbol-collisions' into linux-symbol-collisions 2010-06-29 11:12:34 -07:00
Brian Behlendorf 5673ecff5d Merge branch 'linux-kernel-mem' into refs/top-bases/linux-zfs-branch 2010-06-29 11:12:28 -07:00
Brian Behlendorf 91023a3daf Merge commit 'refs/top-bases/linux-kernel-mem' into linux-kernel-mem 2010-06-29 11:12:26 -07:00
Brian Behlendorf 8d033b4bb8 Merge branch 'linux-kernel-disk' into refs/top-bases/linux-zfs-branch 2010-06-29 11:12:20 -07:00
Brian Behlendorf 68b79f258d Merge commit 'refs/top-bases/linux-kernel-disk' into linux-kernel-disk 2010-06-29 11:12:17 -07:00
Brian Behlendorf 24adb9387a Merge branch 'linux-have-spl-debug' into refs/top-bases/linux-zfs-branch 2010-06-29 11:12:11 -07:00
Brian Behlendorf e52951a257 Merge commit 'refs/top-bases/linux-have-spl-debug' into linux-have-spl-debug 2010-06-29 11:12:09 -07:00
Brian Behlendorf a1ccea7c7f Merge branch 'linux-have-mntent' into refs/top-bases/linux-zfs-branch 2010-06-29 11:12:03 -07:00
Brian Behlendorf f476e0b2e1 Merge commit 'refs/top-bases/linux-have-mntent' into linux-have-mntent 2010-06-29 11:12:00 -07:00
Brian Behlendorf 2eceb0c47a Merge commit 'refs/top-bases/zfs-branch' into zfs-branch 2010-06-29 11:12:00 -07:00
Brian Behlendorf b0c8dc3c75 Merge branch 'fix-branch' into refs/top-bases/zfs-branch 2010-06-29 11:11:59 -07:00
Brian Behlendorf 46b2d46053 Merge branch 'fix-stack-traverse_visitbp' into refs/top-bases/fix-branch 2010-06-29 11:04:51 -07:00
Brian Behlendorf b936d9e25f Merge commit 'refs/top-bases/fix-branch' into fix-branch 2010-06-29 11:04:51 -07:00
Brian Behlendorf 983bc7237f New TopGit dependency: fix-stack-traverse_visitbp 2010-06-29 11:04:48 -07:00
Brian Behlendorf 34229a2f2a Reduce stack usage for recursive traverse_visitbp()
Due to  limited stack space recursive functions are frowned upon in
the Linux kernel.  However, they often are the most elegant solution
to a problem.  The following code preserves the recursive function
traverse_visitbp() but moves the local variables AND function
arguments to the heap to minimize the stack frame size.  Enough
space is initially allocated on the stack for 20 levels of recursion.
This change does ugly-up-the-code but it reduces the worst case
usage from roughly 4160 bytes to 960 bytes on x86_64 archs.
2010-06-29 11:04:26 -07:00