All of lore.kernel.org
 help / color / mirror / Atom feed
* About task->used_math and TIF_USEDFPU
@ 2004-12-16  7:59 zhan rongkai
  0 siblings, 0 replies; 3+ messages in thread
From: zhan rongkai @ 2004-12-16  7:59 UTC (permalink / raw)
  To: linux-kernel

hi all,

I am a little confused about the task_struct member 'used_math', and
thread_info flag TIF_USEDFPU.

What are their meaning, and what is the difference between them?

thanks.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* About task->used_math and TIF_USEDFPU
@ 2004-12-16  8:06 zhan rongkai
  2004-12-16 17:33 ` Jun Sun
  0 siblings, 1 reply; 3+ messages in thread
From: zhan rongkai @ 2004-12-16  8:06 UTC (permalink / raw)
  To: linux-mips

hi all,

I am a little confused about the task_struct member 'used_math', and
thread_info flag TIF_USEDFPU.

What are their meaning, and what is the difference between them?

thanks.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: About task->used_math and TIF_USEDFPU
  2004-12-16  8:06 zhan rongkai
@ 2004-12-16 17:33 ` Jun Sun
  0 siblings, 0 replies; 3+ messages in thread
From: Jun Sun @ 2004-12-16 17:33 UTC (permalink / raw)
  To: zhan rongkai; +Cc: linux-mips

On Thu, Dec 16, 2004 at 04:06:12PM +0800, zhan rongkai wrote:
> hi all,
> 
> I am a little confused about the task_struct member 'used_math', and
> thread_info flag TIF_USEDFPU.
> 
> What are their meaning, and what is the difference between them?
> 

used_math is used to indicate whether a process has ever used FPU since
it is created (which typically is true due to the glibc using FPU at the
beginning of each program).

TIF_USEDFPU indicates whether a _running_ process has used FPU since
it is context-switched on.

Jun

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-12-16 17:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-16  7:59 About task->used_math and TIF_USEDFPU zhan rongkai
  -- strict thread matches above, loose matches on Subject: below --
2004-12-16  8:06 zhan rongkai
2004-12-16 17:33 ` Jun Sun

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.