diff options
author | Bryan Cantrill <bryan@joyent.com> | 2011-12-28 20:47:16 +0000 |
---|---|---|
committer | Bryan Cantrill <bryan@joyent.com> | 2011-12-28 20:47:16 +0000 |
commit | 2b157db48231a300113c7c13a26b28bd4bd0f283 (patch) | |
tree | adddd86feb1d18aab1290f9220bbc9ee5eb8547b /usr | |
parent | 5f41645ba4687e6949de7851ed670b1a82f77dea (diff) | |
download | illumos-joyent-2b157db48231a300113c7c13a26b28bd4bd0f283.tar.gz |
OS-818 double fault panic during heavy ip load
Diffstat (limited to 'usr')
-rw-r--r-- | usr/src/uts/common/io/mac/mac_sched.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/uts/common/io/mac/mac_sched.c b/usr/src/uts/common/io/mac/mac_sched.c index 76188b4223..f1fb0420b1 100644 --- a/usr/src/uts/common/io/mac/mac_sched.c +++ b/usr/src/uts/common/io/mac/mac_sched.c @@ -429,14 +429,14 @@ int mac_srs_worker_wakeup_ticks = 0; * said, the constant is left as a static variable to allow it to be * dynamically tuned in the field if and as needed. */ -static uintptr_t mac_rx_srs_stack_needed = 8192; +static uintptr_t mac_rx_srs_stack_needed = 10240; static int mac_rx_srs_stack_toodeep; #ifndef STACK_GROWTH_DOWN #error Downward stack growth assumed. #endif -#define MAC_RX_SRS_TOODEEP() (STACK_BIAS + (uintptr_t)getfp() - \ +#define MAC_RX_SRS_TOODEEP() (STACK_BIAS + (uintptr_t)getfp() - \ (uintptr_t)curthread->t_stkbase < mac_rx_srs_stack_needed && \ ++mac_rx_srs_stack_toodeep) |