Reduce the size of the array used to store the TLB mappings for the kernel

stack from 3 to 2.

We only map in 2 pages for the kernel stack.

Approved by: imp (mentor)
This commit is contained in:
Neel Natu 2010-02-03 04:09:36 +00:00
parent 676e6574a1
commit ae50475f5d

View File

@ -44,7 +44,7 @@
*/
struct mdthread {
int md_flags; /* machine-dependent flags */
int md_upte[KSTACK_PAGES]; /* ptes for mapping u pcb */
int md_upte[KSTACK_PAGES - 1]; /* ptes for mapping u pcb */
int md_ss_addr; /* single step address for ptrace */
int md_ss_instr; /* single step instruction for ptrace */
register_t md_saved_intr;