lkml.org 
[lkml]   [2015]   [Jul]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v7 2/4] x86/stackvalidate: Compile-time stack validation
From
Date
On Mon, 2015-07-20 at 12:50 -0500, Josh Poimboeuf wrote:
[...]
> It's perhaps distasteful, but it improves performance. And I'm a
> pragmatist at heart ;-)

And you measured the time gain guaranteeing that it actually saves that
much time. Usually that isn't actually measurable ....

And the usual solution is to have a preprocessor symbol to allow people
with lots of time and/or "valgrind" and similar tools to clean up
cleanly and the speed gang can compile that code out.

Kind regards,
Bernd
--
"I dislike type abstraction if it has no real reason. And saving
on typing is not a good reason - if your typing speed is the main
issue when you're coding, you're doing something seriously wrong."
- Linus Torvalds



\
 
 \ /
  Last update: 2015-07-21 11:41    [W:0.178 / U:0.572 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site