<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://msmvps.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>(Stack) Size Matters</title><link>http://msmvps.com/blogs/kernelmustard/archive/2004/08/30/12543.aspx</link><description>Somehow, I managed to catch a cold this weekend, and can already feel the NyQuil starting to kick in. If this post seems, well, a little druk -- that's why. The good news is that I'm having fun writing it! Today I think I'll talk a bit about the kernel</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>re: (Stack) Size Matters</title><link>http://msmvps.com/blogs/kernelmustard/archive/2004/08/30/12543.aspx#13258</link><pubDate>Thu, 09 Sep 2004 13:49:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:13258</guid><dc:creator>Steve Dispensa</dc:creator><description>where windows kernel services interrupts? On the current stack, or by switching to the &amp;quot;interrupt thread&amp;quot;? If the former, then effective stack size is actually smaller, because stack has to be shared between thread and interrupt.&lt;br&gt;&lt;br&gt;It worth noting that Linux goes into opposite direction: in 2.6 (x86) kernel stack was reduced from 2 pages, to 1 page (4K).&lt;br&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=13258" width="1" height="1"&gt;</description></item><item><title>re: (Stack) Size Matters</title><link>http://msmvps.com/blogs/kernelmustard/archive/2004/08/30/12543.aspx#13041</link><pubDate>Sun, 05 Sep 2004 14:54:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:13041</guid><dc:creator>Steve Dispensa</dc:creator><description>No, any call to win32k does it.  PsConvertToGuiThread is called on the first win32k system service and it switches the kernel stack to a large stack.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=13041" width="1" height="1"&gt;</description></item><item><title>re: (Stack) Size Matters</title><link>http://msmvps.com/blogs/kernelmustard/archive/2004/08/30/12543.aspx#12991</link><pubDate>Sat, 04 Sep 2004 14:12:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:12991</guid><dc:creator>Steve Dispensa</dc:creator><description>Skywing - I might be well wrong, but isn't the 64Kb stack the case only for threads that did *DirectDraw/3D* calls to win32k?&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=12991" width="1" height="1"&gt;</description></item><item><title>re: (Stack) Size Matters</title><link>http://msmvps.com/blogs/kernelmustard/archive/2004/08/30/12543.aspx#12698</link><pubDate>Wed, 01 Sep 2004 22:36:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:12698</guid><dc:creator>Steve Dispensa</dc:creator><description>Actually the KM stack was changed from 2 pages to 3 page s between NT 3.51 and NT4 (at least on i386). The reason had something to do with filesystem reentrancy IIRC.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=12698" width="1" height="1"&gt;</description></item><item><title>re: (Stack) Size Matters</title><link>http://msmvps.com/blogs/kernelmustard/archive/2004/08/30/12543.aspx#12557</link><pubDate>Mon, 30 Aug 2004 14:25:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:12557</guid><dc:creator>Steve Dispensa</dc:creator><description>Note that threads that have called into win32k.sys will have larger stacks - 64K, IIRC.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=12557" width="1" height="1"&gt;</description></item></channel></rss>