From: Blaisorblade <blaisorblade@yahoo.it>
To: user-mode-linux-devel@lists.sourceforge.net
Cc: Jeff Dike <jdike@addtoit.com>,
Bodo Stroesser <bstroesser@fujitsu-siemens.com>
Subject: Re: [uml-devel] Removing call to function pointer in inner loop of copy_from_user()
Date: Mon, 16 May 2005 23:27:32 +0200 [thread overview]
Message-ID: <200505162327.32855.blaisorblade@yahoo.it> (raw)
In-Reply-To: <20050516184857.GA8171@ccure.user-mode-linux.org>
On Monday 16 May 2005 20:48, Jeff Dike wrote:
> On Mon, May 16, 2005 at 07:04:13PM +0200, Blaisorblade wrote:
> > I could move maybe move sigsetjmp to kernelspace code;
>
> How are you going to get a definition of jmp_buf in there?
I actually want to include the headers. Not that I would refuse to copy
verbatim from headers (binary compatibility allows that to work as long we
use the same host OS / libc combination).
> > however, another
> > possibility would be to use the exception handler tables we've always
> > supported without using them (only drawback is that the code *must* be
> > inlined, and possibly the need for some assembler code, which however is
> > probably avoidable).
> Maybe. That's worth looking in to. I've used the setjmp scheme in
> preference to that because it's portable, but maybe we should switch back
> in some places.
Yes, more portable but slightly slower. Also, if you get the compiler to
inline the code anyway, you only write pseudo-ops in assembler, so that's no
problem.
--
Paolo Giarrusso, aka Blaisorblade
Skype user "PaoloGiarrusso"
Linux registered user n. 292729
http://www.user-mode-linux.org/~blaisorblade
-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
prev parent reply other threads:[~2005-05-16 22:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-15 18:44 [uml-devel] Removing call to function pointer in inner loop of copy_from_user() Blaisorblade
2005-05-16 15:00 ` Jeff Dike
2005-05-16 17:04 ` Blaisorblade
2005-05-16 18:48 ` Jeff Dike
2005-05-16 21:27 ` Blaisorblade [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=200505162327.32855.blaisorblade@yahoo.it \
--to=blaisorblade@yahoo.it \
--cc=bstroesser@fujitsu-siemens.com \
--cc=jdike@addtoit.com \
--cc=user-mode-linux-devel@lists.sourceforge.net \
/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).