KSTACKPAGES is a system parameter that controls the number of pages allocated for process kernel stacks.