From: Keith Owens <kaos@ocs.com.au>
To: Paul Gortmaker <p_gortmaker@yahoo.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Speedup SMP kernel on UP box
Date: Sat, 16 Mar 2002 23:42:10 +1100 [thread overview]
Message-ID: <16495.1016282530@ocs3.intra.ocs.com.au> (raw)
In-Reply-To: Your message of "Sat, 16 Mar 2002 06:51:35 CDT." <3C9331C7.5BDDE3BA@yahoo.com>
On Sat, 16 Mar 2002 06:51:35 -0500,
Paul Gortmaker <p_gortmaker@yahoo.com> wrote:
>I had a think on this from the perspective of increasing UP performance
>of SMP kernels, and came up with the following rather interesting (IMHO)
>patch. Executive summary is that when a SMP kernel finds itself on a UP
>box, it modifies itself (ooohh!) by going along and essentially doing a
>sed '_text,_etext s/lock/nop/' :)
>
>Details: Address of each relevant lock opcode is stored (similar to
>the way an exception table is)
Does your patch work with recent binutils? I suspect that any lock
code in discarded exit sections will cause binutils to barf (loudly).
Look at the out of line changes to the lock code in 2.4.18-pre3, I had
to stop using a single lock section because of the more rigorous
binutils checks.
next prev parent reply other threads:[~2002-03-16 12:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-16 11:51 [PATCH] Speedup SMP kernel on UP box Paul Gortmaker
2002-03-16 12:42 ` Keith Owens [this message]
[not found] <0C01A29FBAE24448A792F5C68F5EA47D238DE0@nasdaq.ms.ensim.com>
2002-03-16 23:37 ` Paul Menage
2002-03-16 23:54 ` Daniel Jacobowitz
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=16495.1016282530@ocs3.intra.ocs.com.au \
--to=kaos@ocs.com.au \
--cc=linux-kernel@vger.kernel.org \
--cc=p_gortmaker@yahoo.com \
/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