The user mode stack has a dynamic size.  For kernel, the size is usually fixed size and small.  The size of the stack depends on hardware architecture.  Historically, kernel stack in Linux is 2 pages (8K in 32-bits and 16K in 64-bits).  The size is fixed at kernel compile time.
 
No comments:
Post a Comment