From: Ralf Baechle <ralf@linux-mips.org>
To: Thiemo Seufer <ths@networkno.de>
Cc: linux-mips@linux-mips.org
Subject: Re: [PATCH] Reimplement clear_page/copy_page
Date: Mon, 18 Feb 2008 21:28:23 +0000 [thread overview]
Message-ID: <20080218212823.GA10420@linux-mips.org> (raw)
In-Reply-To: <20080218193249.GD4747@networkno.de>
On Mon, Feb 18, 2008 at 07:32:49PM +0000, Thiemo Seufer wrote:
> Fold the SB-1 specific implementation of clear_page/copy_page in the
> generic version, and rewrite that one in tlbex style. The immediate
> benefits:
> - It converts the compile-time workaround for SB-1 pass 1 prefetches
> to a more efficient run-time check.
> - It allows adjustment of loop unfolling, which helps to reduce the
> number of redundant cdex cache ops.
> - It fixes some esoteric cornercases (the cache line length calculations
> can go wrong, and support for 64k pages without prefetch instructions
> will overflow the addiu immediate).
> - Somewhat better guesses of "good" prefetch values.
>
>
> Signed-off-by: Thiemo Seufer <ths@networkno.de>
> ---
>
> Lmbench3 running on a BCM1480 system shows improvements for some
> benchmarks (three runs with the original kernel, then three runs
> with the patched kernel), most markedly (~5%) for open/close and
> exec:
The patch is certainly a good thing but I somehow doubt for many of the
improvments that they are a result of the patch and not the unavoidable
benchmarking noise.
Queued for 2.6.26,
Ralf
next prev parent reply other threads:[~2008-02-18 21:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-18 19:32 [PATCH] Reimplement clear_page/copy_page Thiemo Seufer
2008-02-18 21:28 ` Ralf Baechle [this message]
2008-04-14 8:56 ` Atsushi Nemoto
2008-04-14 13:13 ` 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=20080218212823.GA10420@linux-mips.org \
--to=ralf@linux-mips.org \
--cc=linux-mips@linux-mips.org \
--cc=ths@networkno.de \
/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