Re: [RFC PATCH 22/32] x86/fred: FRED initialization code

From: H. Peter Anvin
Date: Fri Dec 23 2022 - 14:32:03 EST


On December 22, 2022 5:09:28 AM PST, Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
>On Tue, Dec 20, 2022 at 09:44:33PM -0800, H. Peter Anvin wrote:
>
>> Right, this is one major reason for putting #DB/NMI in a separate stack level.
>
>But with the IST they each have their own stack, with FRED they'll share
>this small stack.

So make the stack larger if you think we need it. You still end up using less total stack space with FRED.