From: Paul Mackerras <paulus@samba.org>
To: "Jörn Engel" <joern@wohnheim.fh-wedel.de>
Cc: Paul Larson <plars@linuxtestproject.org>,
ltp-coverage@lists.sourceforge.net,
lse-tech <lse-tech@lists.sourceforge.net>,
lkml <linux-kernel@vger.kernel.org>,
Benjamin Herrenschmidt <benh@kernel.crashing.org>
Subject: Re: [Ltp-coverage] 2.5.67-gcov and 2.4.20-gcov
Date: Fri, 18 Apr 2003 09:07:58 +1000 (EST) [thread overview]
Message-ID: <16031.13262.665030.500906@nanango.paulus.ozlabs.org> (raw)
In-Reply-To: <20030417123111.GA29390@wohnheim.fh-wedel.de>
=?iso-8859-1?Q?J=81=F6rn?= Engel writes:
> The bit in arch/ppc/kernel/entry.S was necessary for me to compile
> this for a ppc 405gp based system, gcov would grow the kernel beyond
> the relative jump distance for "bnel syscall_trace".
>
> Paulus, Ben, is the relative jump a wanted optimization or unclean
> code that went unnoticed so far? IOW should this go into mainline or
> remain part of the gcov patch?
What's unclean about bnel?
I think ret_from_fork would be better like this:
.globl ret_from_fork
ret_from_fork:
bl schedule_tail
lwz r0,TASK_PTRACE(r2)
andi. r0,r0,PT_TRACESYS
beq+ ret_from_except
bl syscall_trace
b ret_from_except
Unless of course you have bloated the kernel beyond 32MB, but then we
would be in all sorts of difficulties.
> +.section ".ctors","aw"
> +.globl __CTOR_LIST__
> +.type __CTOR_LIST__,@object
> +__CTOR_LIST__:
> +.section ".dtors","aw"
> +.globl __DTOR_LIST__
> +.type __DTOR_LIST__,@object
> +__DTOR_LIST__:
Can't you do this in arch/ppc/vmlinux.lds using PROVIDE() instead of
making the same change to each of the head*.S files?
Paul.
next prev parent reply other threads:[~2003-04-18 1:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-16 14:20 Paul Larson
2003-04-16 16:44 ` [Ltp-coverage] " Jörn Engel
2003-04-16 16:51 ` Paul Larson
2003-04-17 12:31 ` Jörn Engel
2003-04-17 23:07 ` Paul Mackerras [this message]
2003-04-19 21:24 ` Jörn Engel
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=16031.13262.665030.500906@nanango.paulus.ozlabs.org \
--to=paulus@samba.org \
--cc=benh@kernel.crashing.org \
--cc=joern@wohnheim.fh-wedel.de \
--cc=linux-kernel@vger.kernel.org \
--cc=lse-tech@lists.sourceforge.net \
--cc=ltp-coverage@lists.sourceforge.net \
--cc=plars@linuxtestproject.org \
/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
all inboxes | Powered by JetHome®