Dave Hansen wrote:
quoted text >
>> switch (...) {
>> case x: {
>> struct medium a;
>> ...
>> }
>> case y:
>> struct medium b;
>> ...
>> }
>> };
>>
>> These could be solved either by stack allocation, or by moving into
>> functions marked noinline. Whichever is easier.
>>
>
> Did you mean dynamic allocation? :)
>
>
Yeah. Too early in the morning for me.
Roland's trick might be easier than either, though.
--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.
--
unsubscribe notice To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Messages in current thread:
Re: KVM overflows the stack , Avi Kivity , (Thu Jul 17, 2:42 am)