SergeV
Wed Mar 26 22:43:13 CDT 2008
Yes, this is a story of how to use the kernel stack (thank you Elyas for
the link) properly,
but (if I didn't miss something) there's nothing about how to change the
stack size.
On the other hand (-: they say :-) DirectX somehow manage to increase
kernel stack size to 64k,
and in the WDK there are (vague) words about stack size increase support
under W2k3 & Vista.
Could somebody firmly state smth like that (for example):
"Under XP (-32) kernel stack size is 12k fixed.To change it ask MS to
rebuild it for you." (or)
"Kernel stack size could be increased but programmatically from within a
driver only and under Vista and later..."
Sergei.
"Eliyas Yakub [MSFT]" <eliyasy@online.microsoft.com> wrote in message
news:EEA2D8A8-8752-428E-874A-1F4E756025BD@microsoft.com...
>
http://www.microsoft.com/whdc/Driver/tips/KMstack.mspx
>
> -Eliyas
>
>
> "Sergei V" <sv@a.c.ad.e.m.org> wrote in message
> news:eYH3Tu0jIHA.424@TK2MSFTNGP06.phx.gbl...
>> Is there a way to set the kernel stack size somehow?
>> To increase it by setting some value? In the registry, or elsewhere?
>>
>> The story:
>> It is known the NT stack size to be 12k (approximately).
>> There is a bug of NT when a call to MmGrowKernelStack fail with
>> STATUS_STACK_OVERFLOW.
>> (the bug is concerned with DLL embedding and WH_CALLWNDPROC)
>> There is a hope to somehow overcome the problem if increase the
>> kernel stack size.
>>
>> Thanks.
>>
>> BTW, is the 64bit NT stack size is 12k too (just wonder)?
>>