Commit Graph

3736 Commits

Author SHA1 Message Date
Brian Behlendorf 350dd943de Merge branch 'gcc-unused' into refs/top-bases/gcc-branch 2010-06-29 14:40:38 -07:00
Brian Behlendorf 996d43027b Merge commit 'refs/top-bases/gcc-unused' into gcc-unused 2010-06-29 14:40:36 -07:00
Brian Behlendorf ab4a18fd09 Merge branch 'gcc-uninit' into refs/top-bases/gcc-branch 2010-06-29 14:40:35 -07:00
Brian Behlendorf 11ce7ab08f Merge commit 'refs/top-bases/gcc-uninit' into gcc-uninit 2010-06-29 14:40:34 -07:00
Brian Behlendorf 6f0f7231e3 Merge branch 'gcc-no-parenthesis' into refs/top-bases/gcc-branch 2010-06-29 14:40:32 -07:00
Brian Behlendorf a1097e9d6f Merge commit 'refs/top-bases/gcc-no-parenthesis' into gcc-no-parenthesis 2010-06-29 14:40:31 -07:00
Brian Behlendorf bd09c31688 Merge branch 'gcc-missing-case' into refs/top-bases/gcc-branch 2010-06-29 14:40:28 -07:00
Brian Behlendorf 15112a9642 Merge commit 'refs/top-bases/gcc-missing-case' into gcc-missing-case 2010-06-29 14:40:27 -07:00
Brian Behlendorf 26cfa9d270 Merge branch 'gcc-invalid-prototype' into refs/top-bases/gcc-branch 2010-06-29 14:40:26 -07:00
Brian Behlendorf 653589b77a Merge commit 'refs/top-bases/gcc-invalid-prototype' into gcc-invalid-prototype 2010-06-29 14:40:25 -07:00
Brian Behlendorf 39b87a2879 Merge branch 'gcc-init-pragmas' into refs/top-bases/gcc-branch 2010-06-29 14:40:23 -07:00
Brian Behlendorf cabec2d73c Merge commit 'refs/top-bases/gcc-init-pragmas' into gcc-init-pragmas 2010-06-29 14:40:22 -07:00
Brian Behlendorf b27a006df9 Merge branch 'gcc-debug' into refs/top-bases/gcc-branch 2010-06-29 14:40:20 -07:00
Brian Behlendorf c112aa6055 Merge commit 'refs/top-bases/gcc-debug' into gcc-debug 2010-06-29 14:40:19 -07:00
Brian Behlendorf bbe19a8b0e Merge branch 'gcc-cast' into refs/top-bases/gcc-branch 2010-06-29 14:40:17 -07:00
Brian Behlendorf 389425ecd7 Merge commit 'refs/top-bases/gcc-cast' into gcc-cast 2010-06-29 14:40:16 -07:00
Brian Behlendorf 1213402460 Merge branch 'gcc-c90' into refs/top-bases/gcc-branch 2010-06-29 14:40:15 -07:00
Brian Behlendorf 731c2d1256 Merge commit 'refs/top-bases/gcc-c90' into gcc-c90 2010-06-29 14:40:14 -07:00
Brian Behlendorf b3c82b1b18 Add basic README
A simple README with a short summary of the project and a link
directing people to the online documentation.
2010-06-29 14:35:21 -07:00
Brian Behlendorf e689338d50 Remove README
This file is being updated, renamed README.markdown, and moved to
the master branch for githubs benefit.
2010-06-29 14:34:13 -07:00
Brian Behlendorf ca61a18b4b Merge commit 'refs/top-bases/linux-spa-thread' into linux-spa-thread 2010-06-29 11:37:03 -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 a19df13637 Merge commit 'refs/top-bases/linux-spa-thread' into linux-spa-thread 2010-06-29 11:14:20 -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
Brian Behlendorf 61dfb6c274 Merge commit 'refs/top-bases/linux-spa-thread' into linux-spa-thread 2010-06-29 11:02:18 -07:00
Brian Behlendorf 0a2b049259 Merge commit 'refs/top-bases/zfs-branch' into zfs-branch 2010-06-29 10:59:54 -07:00
Brian Behlendorf ffeafc898e Merge branch 'fix-branch' into refs/top-bases/zfs-branch
Conflicts:

	cmd/ztest/ztest.c
2010-06-29 10:55:38 -07:00
Brian Behlendorf b873e71b0f Merge branch 'gcc-branch' into refs/top-bases/zfs-branch 2010-06-29 10:29:42 -07:00
Brian Behlendorf 9fd3ea941b Merge commit 'refs/top-bases/gcc-branch' into gcc-branch 2010-06-29 10:25:31 -07:00
Brian Behlendorf 192b36dcfd Merge branch 'gcc-uninit' into refs/top-bases/gcc-branch 2010-06-29 10:25:31 -07:00
Brian Behlendorf 9cdd80e387 Revert traverse_impl() changes
These changes are now taken care of by the fix-stack-traverse_impl
topic branch which not only solves the uninit problem but also
moves these locals off the stack and on to the heap.
2010-06-29 10:24:14 -07:00
Brian Behlendorf 96bd9f434d Merge branch 'fix-stack-traverse_impl' into refs/top-bases/fix-branch 2010-06-29 10:21:53 -07:00
Brian Behlendorf c3681c9f29 Merge commit 'refs/top-bases/fix-branch' into fix-branch 2010-06-29 10:21:53 -07:00
Brian Behlendorf 607b455090 New TopGit dependency: fix-stack-traverse_impl 2010-06-29 10:21:50 -07:00
Brian Behlendorf 8e2de85a6d Reduce stack usage of traverse_impl()
Stack use reduced from 560 bytes to 128 bytes.
2010-06-29 10:21:21 -07:00
Brian Behlendorf d2585f5921 Merge branch 'fix-stack-vn_open' into refs/top-bases/fix-branch 2010-06-29 10:15:05 -07:00
Brian Behlendorf 0a03ec3bf5 Merge commit 'refs/top-bases/fix-branch' into fix-branch 2010-06-29 10:15:05 -07:00
Brian Behlendorf 53324fbd1f New TopGit dependency: fix-stack-vn_open 2010-06-29 10:15:02 -07:00
Brian Behlendorf edbb93c11d Reduce stack usage by vn_open()
We should not put a 4k maxpathlen buffer on the stack, instead
locate it to the heap.  Even in user space we run ztest with 8K
2010-06-29 10:14:37 -07:00
Brian Behlendorf 78cb5e6f60 Merge commit 'refs/top-bases/fix-branch' into fix-branch 2010-06-29 10:12:04 -07:00