Fixed typo that set thread STACK_SIZE to 24k instead of 8k
__linux__ was mispelled as _linux_ so #ifdef was always selecting the Solaris STACK_SIZE value. Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
This commit is contained in:
parent
213d6423b5
commit
75d868af70
|
@ -199,7 +199,7 @@ _NOTE(CONSTCOND) } while (0)
|
||||||
*/
|
*/
|
||||||
#define TS_MAGIC 0x72f158ab4261e538ull
|
#define TS_MAGIC 0x72f158ab4261e538ull
|
||||||
#define TS_RUN 0x00000002
|
#define TS_RUN 0x00000002
|
||||||
#ifdef _linux_
|
#ifdef __linux__
|
||||||
#define STACK_SIZE 8192 /* Linux x86 and amd64 */
|
#define STACK_SIZE 8192 /* Linux x86 and amd64 */
|
||||||
#else
|
#else
|
||||||
#define STACK_SIZE 24576 /* Solaris */
|
#define STACK_SIZE 24576 /* Solaris */
|
||||||
|
|
Loading…
Reference in New Issue