Re: [PATCH v2] use -fstack-protector-strong

From: H. Peter Anvin
Date: Wed Nov 27 2013 - 12:56:49 EST


On 11/27/2013 09:54 AM, Ingo Molnar wrote:
>>
>> Looks to be 2% for defconfig. That's way better. Shall I send a v3?
>
> Well, it's better than 9%, but still almost an order of magnitude
> higher than the cost is today, and a lot of distros have
> CONFIG_CC_STACKPROTECTOR=y.
>
> So it would be nice to measure how much the instruction count goes up
> in some realistic system-bound test. How much does something like
> kernel/built-in.o increase, as per 'size' output?
>

Do we need CONFIG_CC_STACKPROTECTOR_STRONG?

-hpa


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/