Skip to content

Commit

Permalink
Fix stack ztest
Browse files Browse the repository at this point in the history
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.

Signed-off-by: Brian Behlendorf <[email protected]>
  • Loading branch information
behlendorf committed Aug 31, 2010
1 parent 6656bf5 commit 40b84e7
Showing 1 changed file with 205 additions and 87 deletions.
Loading

0 comments on commit 40b84e7

Please sign in to comment.