archive mirror
 help / color / mirror / Atom feed
* context switch code question
@ 2003-04-17 21:19 Robert Schweikert
  2003-04-24  8:11 ` Gabriel Paubert
  0 siblings, 1 reply; 3+ messages in thread
From: Robert Schweikert @ 2003-04-17 21:19 UTC (permalink / raw)
  To: linux-kernel; +Cc: Robert Schweikert

Can someone please point me to the context switching code. I am
interested in the context switch structure and the values that are
saved. I am chasing a weird problem with some numerical code that uses
mmx instructions to get flush to zero to work. Specifically I am calling


macro which in turn ends up calling _mm_setcsr(), wherever that might be

What I am trying to figure out is a.) is this register value properly
set/reset during context switch and b.) is this particular register
properly transfered when the process gets moved to another CPU. 

I assume that this is a configurable option in the kernel since PII and
Pentium do not have this instruction, and thus it could just be that my
kernel is not configured correctly.

I tried to find this type of info without posting but failed.

Robert Schweikert <>

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

end of thread, other threads:[~2003-04-24 10:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-17 21:19 context switch code question Robert Schweikert
2003-04-24  8:11 ` Gabriel Paubert
2003-04-24 10:33   ` Robert Schweikert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).