RE: [patch] ia64: fix potential NaT bit error for sys_pipe().

From: Chen, Kenneth W <kenneth.w.chen_at_intel.com>
Date: 2005-01-21 14:32:48
>>>>> On Thu, 20 Jan 2005 15:22:59 -0800, "Seth, Rohit" <rohit.seth@intel.com> said:
>
>   Rohit> We are also thinking of reseting the mfh bit on every syscall
>   Rohit> entry as an optimization.
>
>   Rohit> Comments?

David Mosberger wrote on Thursday, January 20, 2005 3:51 PM
> Sounds OK with me.  We should delete this comment from process.c then,
> ....
> and change:
>
> #define THREAD_FLAGS_TO_CLEAR (IA64_THREAD_FPH_VALID | IA64_THREAD_DBG_VALID \
>                                | IA64_THREAD_PM_VALID)
>
> to:
>
> #define THREAD_FLAGS_TO_CLEAR (IA64_THREAD_DBG_VALID | IA64_THREAD_PM_VALID)

We would rather not to change THREAD_FLAGS_TO_CLEAR definition.  mfh bit in child
pt_regs is cleared right above where the comment is.  I think it is better as is
so that child thread fph partition stays invalidated.

- Ken


-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Thu Jan 20 22:33:15 2005

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:34 EST