[<prev] [next>] [day] [month] [year] [list]
Message-ID: <4F851DCB.7090304@gmail.com>
Date: Wed, 11 Apr 2012 13:59:39 +0800
From: Li Yu <raise.sail@...il.com>
To: linux-kernel@...r.kernel.org
Subject: A question about backport jump label
Hi,
We want to backport jump label for 2.6.32 x86_64 kernel on
RHEL5/RHEL6. Such two systems use old versions of gcc 4.1 and 4.4,
so they have not "asm goto" support, which is required for jump label.
I tried some ways to implement jump label without any
modification of core implementation, but all are failed.
My tries are focus on x86's arch_static_branch() modification.
So far, I don't found out any good alternative solution of "asm
goto" in old gcc. The last try is failed since its my implementation
can't be invoked at same function multi times. The reason is GNU as does
not assign different addresses on same symbol.
My question, is possible to implement to jump label under such
constraints? It's best to keep same interface with upstream tree.
Any suggestions is welcome, thanks.
Yu
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists