Re: a problem with ia64_fc

From: Keith Owens
Date: Sun Nov 20 2005 - 02:09:45 EST


On Fri, 18 Nov 2005 15:06:00 +0800,
Hua Feijun <hua.feijun@xxxxxxxxx> wrote:
>Who can tell me the function of ia64_fc

It flushes the cachelines that correspond to an address. By design the
IA64 instruction cache does not detect self modifying code, so an
instruction can be changed in memory but the old instruction can still
be in cache. ia64_fc is used to flush the changed cacheline to ensure
that you execute the modified instruction.

>and what is the different of
>system_call_table among ia64,x86_64t and i386?

You will have to be more specific about your question, what are you
trying to do with the syscall table? Since you are also asking about
ia64_fc I guess that you are trying to patch the syscall table, and the
standard answer to that is "DO NOT PATCH THE SYSCALL TABLE!". It is
not supported and will not be supported.

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