Re: [NTDEV] stack in Kernal mode Drivers

thanks…I already eradicated the problem

-----Original Message-----
From: Jan Bottorff [SMTP:xxxxx@pmatrix.com]
Sent: Tuesday, May 09, 2000 4:24 PM
To: NT Developers Interest List
Subject: [ntdev] Re: [NTDEV] stack in Kernal mode Drivers

1> I need to know that has somebody encountered a similar problem.

Yes, kernel stack space is VERY limited, like a page or two or three (It’s
late and I forget the exact number), stop using so much. The issue is
kernel stacks generally are page locked, if you make them bigger, EVERY
thread will have to have that much more page locked memory allocated.

3> How can we change the stack size in windows drivers…

I don’t believe you can (still true in W2K???). Allocate pool blocks, not
big locals. Deep recursive functions are also bad.

  • Jan

You are currently subscribed to ntdev as: xxxxx@future.futsoft.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)