2005-11-18 07:06:05

by HuaFeijun

[permalink] [raw]
Subject: a problem with ia64_fc

Who can tell me the function of ia64_fc and what is the different of
system_call_table among ia64,x86_64t and i386?
Thanks very much!!!!!!!


2005-11-20 07:10:03

by Keith Owens

[permalink] [raw]
Subject: Re: a problem with ia64_fc

On Fri, 18 Nov 2005 15:06:00 +0800,
Hua Feijun <[email protected]> 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.