aboutsummaryrefslogtreecommitdiff
path: root/sys/contrib/openzfs/module/lua
diff options
context:
space:
mode:
authorMatt Macy <mmacy@FreeBSD.org>2020-10-01 23:28:21 +0000
committerMatt Macy <mmacy@FreeBSD.org>2020-10-01 23:28:21 +0000
commitc40487d49bde43806672a0917a7ccc5d1e6301fd (patch)
tree57d0633d07fdee5d1cf318c53be9d183d61de835 /sys/contrib/openzfs/module/lua
parent494955366a2053888d12f741ae883b48e552ca90 (diff)
parente2228bd99047bb6a0cef0da931147b1f28f155c2 (diff)
downloadsrc-c40487d49bde43806672a0917a7ccc5d1e6301fd.tar.gz
src-c40487d49bde43806672a0917a7ccc5d1e6301fd.zip
OpenZFS: MFV 2.0-rc3-gfc5966
- Annotate FreeBSD sysctls with CTLFLAG_MPSAFE - Reduce stack usage of Lua - Don't save user FPU context in kernel threads - Add support for procfs_list - Code cleanup in zio_crypt - Add DB_RF_NOPREFETCH to dbuf_read()s in dnode.c - Drop references when skipping dmu_send due to EXDEV - Eliminate gratuitous bzeroing in dbuf_stats_hash_table_data - Fix legacy compat for platform IOCs
Notes
Notes: svn path=/head/; revision=366350
Diffstat (limited to 'sys/contrib/openzfs/module/lua')
-rw-r--r--sys/contrib/openzfs/module/lua/llimits.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/sys/contrib/openzfs/module/lua/llimits.h b/sys/contrib/openzfs/module/lua/llimits.h
index 25466f14edca..177092fbc228 100644
--- a/sys/contrib/openzfs/module/lua/llimits.h
+++ b/sys/contrib/openzfs/module/lua/llimits.h
@@ -126,16 +126,7 @@ typedef LUAI_UACNUMBER l_uacNumber;
* Minimum amount of available stack space (in bytes) to make a C call. With
* gsub() recursion, the stack space between each luaD_call() is 1256 bytes.
*/
-#if defined(__FreeBSD__)
-/*
- * FreeBSD needs a few extra bytes in unoptimized debug builds to avoid a
- * double-fault handling the error when the max call depth is exceeded just
- * before the C stack runs out. 64 bytes seems to do the trick.
- */
-#define LUAI_MINCSTACK 4160
-#else
#define LUAI_MINCSTACK 4096
-#endif
/*
** maximum number of upvalues in a closure (both C and Lua). (Value