Move the conditional definition of KSTACK_MAX_PAGES up ahead where
it's more visible. Approved by: re@ (blanket)
This commit is contained in:
parent
c8d5b39633
commit
d3715e0039
@ -126,6 +126,10 @@
|
||||
|
||||
MALLOC_DEFINE(M_PMAP, "PMAP", "PMAP Structures");
|
||||
|
||||
#ifndef KSTACK_MAX_PAGES
|
||||
#define KSTACK_MAX_PAGES 32
|
||||
#endif
|
||||
|
||||
#ifndef PMAP_SHPGPERPROC
|
||||
#define PMAP_SHPGPERPROC 200
|
||||
#endif
|
||||
@ -724,10 +728,6 @@ pmap_track_modified(vm_offset_t va)
|
||||
return 0;
|
||||
}
|
||||
|
||||
#ifndef KSTACK_MAX_PAGES
|
||||
#define KSTACK_MAX_PAGES 32
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Create the KSTACK for a new thread.
|
||||
* This routine directly affects the fork perf for a process/thread.
|
||||
|
Loading…
Reference in New Issue
Block a user