From: Andi Kleen <ak@suse.de>
To: Denis Vlasenko <vda@port.imtp.ilyichevsk.odessa.ua>
Cc: Arjan van de Ven <arjanv@redhat.com>, Andi Kleen <ak@suse.de>,
linux-kernel@vger.kernel.org
Subject: Re: Need help with FPU/MMX/SSE state save/restore
Date: Fri, 1 Nov 2002 16:22:22 +0100 [thread overview]
Message-ID: <20021101162222.A15011@wotan.suse.de> (raw)
In-Reply-To: <200211011433.gA1EXBp20882@Port.imtp.ilyichevsk.odessa.ua>
> Does it have anything to do with the fact I'm
> using this code from csum_partial[_copy_generic] ?
You cannot use kernel_fpu_begin in interrupt context,
and the csum copy functions can be called from that in some
cases (e.g. TCP retransmit timer). You need to check for
in_interrupt() too.
I think the problem in your case is that you don't save/restore
your registers properly around the function call. C calling
conventions allow to clobber some of them and you don't seem
to handle that.
-Andi
prev parent reply other threads:[~2002-11-01 15:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-01 19:25 Denis Vlasenko
2002-11-01 15:22 ` Andi Kleen [this message]
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=20021101162222.A15011@wotan.suse.de \
--to=ak@suse.de \
--cc=arjanv@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=vda@port.imtp.ilyichevsk.odessa.ua \
/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
all inboxes | Powered by JetHome®