Re: serious performance regression due to NX patch
From: Linus Torvalds
Date: Mon Jul 12 2004 - 15:19:09 EST
On Mon, 12 Jul 2004, Ingo Molnar wrote:
>
> so ... this should be #ifndef ia64?
No. Make it a CONFIG_DEFAULT_NOEXEC and make the relevant architectures do
a
define_bool DEFAULT_NOEXEC y
in their Kconfig files.
In general, we should _never_ use an architecture-define. They just always
end up becoming more and more hairy, and less and less obvious what they
are all about.
So instead, make a readable and explicit config define, and let each
architecture just set it (or not) as they wish.
Linus
-
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/