From: Andi Kleen <andi@firstfloor.org>
To: "Steven J. Hill" <sjhill@realitydiluted.com>
Cc: veerasena reddy <veerasena_b@yahoo.co.in>,
linux-mips <linux-mips@linux-mips.org>,
"linux-kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: unresoved symbol _gp_disp
Date: 04 Oct 2007 20:29:59 +0200 [thread overview]
Message-ID: <p73k5q268d4.fsf@bingen.suse.de> (raw)
In-Reply-To: <20071004173928.GA32033@real.realitydiluted.com>
"Steven J. Hill" <sjhill@realitydiluted.com> writes:
> > I have written a loadble module ( which gets complied
> > along with kernel) which does some floating point
> > operation.
> >
> NO FLOATING POINT in the kernel PERIOD. Either use integer
> operations, or redo your software architecture and do the
> floating point in userspace.
You can use floating point; you just have to make sure to
save the FP context explicitely and disable preemption. Details
on how to do this vary by architecture.
The problem is that FP code typically takes often a lot of CPU time
and it is quite antisocial to disable preemption for a long time
because that impacts real time latency for everybody.
Besides many uses can be relatively easily rewritten to fixed
point.
-Andi
next prev parent reply other threads:[~2007-10-04 18:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-04 10:12 unresoved symbol _gp_disp veerasena reddy
2007-10-04 17:39 ` Steven J. Hill
2007-10-04 17:47 ` David Daney
2007-10-04 18:29 ` Andi Kleen [this message]
2007-10-05 10:52 ` Ralf Baechle
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=p73k5q268d4.fsf@bingen.suse.de \
--to=andi@firstfloor.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@linux-mips.org \
--cc=sjhill@realitydiluted.com \
--cc=veerasena_b@yahoo.co.in \
/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