You can't vmalloc the stack without changing drivers that assume the stack
is DMAable. Thats a 2.3.x thing but yes. vmalloc I seem to remember already
does guard pages
> 2) if a task is created, then 2 single pages get allocated,
> and inserted into the vm_alloc'ed area.
> 3) the task_struct is moved to the end of the stack.
> (Windows 95 does it this way around)
The task struct is where it is in order to make dereferencing current
fast.
Alan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/