Re: [PATCH] x86-64: Prevent gcc from optimizing away venosys_1()

From: Ingo Molnar
Date: Mon Jun 06 2011 - 13:22:24 EST



* Dave Anderson <anderson@xxxxxxxxxx> wrote:

> One of the changes in commit a4928cffe6435caf427ae673131a633c1329dbf3
> made the venosys_1() system call static, which causes it to be
> optimized out of the kernel:
>
> Author: Ingo Molnar <mingo@xxxxxxx>
> Date: Wed Apr 23 13:20:56 2008 +0200
>
> "make namespacecheck" fixes
>
> Signed-off-by: Ingo Molnar <mingo@xxxxxxx>

Andy noticed this recently, so we got rid of that broken (and unused)
syscall in:

bb5fe2f78ead: x86-64: Remove vsyscall number 3 (venosys)

which is in the tip:x86/vdso branch at:

http://people.redhat.com/mingo/tip.git/README

Thanks,

Ingo
--
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/