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

Chen, Kenneth W
2005-01-21T03:32:48Z

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