Reduce kernel stack size to 8 KiB.

This commit is contained in:
Jonas 'Sortie' Termansen 2013-08-22 16:17:24 +02:00
parent d71179b540
commit e875babf8e
1 changed files with 1 additions and 1 deletions

View File

@ -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];