mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Reduce kernel stack size to 8 KiB.
This commit is contained in:
parent
d71179b540
commit
e875babf8e
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ Thread* CreateKernelThread(Process* process, CPU::InterruptRegisters* regs)
|
|||
Thread* CreateKernelThread(Process* process, ThreadEntry entry, void* user,
|
||||
size_t stacksize)
|
||||
{
|
||||
const size_t DEFAULT_KERNEL_STACK_SIZE = 512 * 1024UL;
|
||||
const size_t DEFAULT_KERNEL_STACK_SIZE = 8 * 1024UL;
|
||||
if ( !stacksize )
|
||||
stacksize = DEFAULT_KERNEL_STACK_SIZE;
|
||||
uint8_t* stack = new uint8_t[stacksize];
|
||||
|
|
Loading…
Add table
Reference in a new issue