public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Niels Christiansen" <nc@ejna.ribald.com>
To: "Andrew Morton" <akpm@zip.com.au>
Cc: "Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>,
	<lse-tech@lists.sourceforge.net>
Subject: Re: [Lse-tech] Re: efficient copy_to_user and copy_from_user routines in Linux Kernel
Date: Tue, 25 Jun 2002 13:58:01 -0500	[thread overview]
Message-ID: <026f01c21c7a$3b3df820$fad88842@ribald.com> (raw)
In-Reply-To: 3D18A26A.73E6DD07@zip.com.au


Indeed, I ordered a P4 for these tests while still at IBM but AMD boxes are
not available to Mala, I believe.  Before I got sacked, I even bought a P4
to test this and other things at home but I lost interest in the matter so
never actually got around to testing.

When I did test back in February I created a few test programs and found
that the code generated by GCC Version 3.x and the library that came with
RedHat 6.2 gave almost as good results as the patches Mala then had
available.  Maybe it is time to see if the compiler has improved enough to
scrap the copy code in the kernel in favor of code as generated by the
compiler.

Niels

----- Original Message -----
From: "Andrew Morton" <akpm@zip.com.au>
To: "Mala Anand" <manand@us.ibm.com>
Cc: "Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>;
<lse-tech@lists.sourceforge.net>
Sent: Tuesday, June 25, 2002 12:03 PM
Subject: [Lse-tech] Re: efficient copy_to_user and copy_from_user routines
in Linux Kernel


> Mala Anand wrote:
> >
> > Here is a 2.5.19 patch that improves the performance of IA32
copy_to_user
> > and copy_from_user routines used by :
> >
> > (1) tcpip protocol stack
> > (2) file systems
> >
>
> One question:  have you tested on other CPU types?  This problem is
> very specific to Intel hardware.  On AMD, the eight-byte alignement
> artifact does not exist at all.  It could be that your patch is not
> desirable on such CPUs?
>
> -------------------------------------------------------
> This sf.net email is sponsored by: Jabber Inc.
> Don't miss the IM event of the season | Special offer for OSDN members!
> JabConf 2002, Aug. 20-22, Keystone, CO http://www.jabberconf.com/osdn


  parent reply	other threads:[~2002-06-25 18:59 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-24 19:34 efficient copy_to_user and copy_from_user routines in Linux Kernel Mala Anand
2002-06-24 19:33 ` David S. Miller
2002-06-24 20:24 ` [Lse-tech] " Niels Christiansen
2002-06-25 17:03 ` Andrew Morton
2002-06-25 17:43   ` kuznet
2002-06-25 19:47     ` Andrew Morton
2002-06-25 21:46       ` Chris Friesen
2002-06-26 13:54     ` Hirokazu Takahashi
2002-06-25 18:58   ` Niels Christiansen [this message]
2002-06-25 19:11     ` [Lse-tech] " Dave Jones
2002-06-26 12:58       ` Andi Kleen
2002-06-26 14:50   ` Bill Hartner
  -- strict thread matches above, loose matches on Subject: below --
2002-06-24 21:02 Mala Anand
2002-06-28 11:55 Mala Anand

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='026f01c21c7a$3b3df820$fad88842@ribald.com' \
    --to=nc@ejna.ribald.com \
    --cc=akpm@zip.com.au \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lse-tech@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