linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Robert Schweikert <Robert.Schweikert@abaqus.com>
To: linux-kernel@vger.kernel.org
Cc: Robert Schweikert <rjschwei@abaqus.com>
Subject: context switch code question
Date: 17 Apr 2003 17:19:32 -0400	[thread overview]
Message-ID: <1050614372.2227.161.camel@cheetah.hks.com> (raw)

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
the

_MM_SET_FLUSH_TO_ZERO_MODE

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

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.

Thanks,
Robert
-- 
Robert Schweikert <Robert.Schweikert@abaqus.com>
ABAQUS

             reply	other threads:[~2003-04-17 21:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-17 21:19 Robert Schweikert [this message]
2003-04-24  8:11 ` context switch code question Gabriel Paubert
2003-04-24 10:33   ` Robert Schweikert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1050614372.2227.161.camel@cheetah.hks.com \
    --to=robert.schweikert@abaqus.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rjschwei@abaqus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).