mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Maciej W. Rozycki" <macro@linux-mips.org>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: Wu Zhangjin <wuzhangjin@gmail.com>,
	Ralf Baechle <ralf@linux-mips.org>,
	linux-mips@linux-mips.org, linux-kernel@vger.kernel.org,
	John Reiser <jreiser@bitwagon.com>,
	David Daney <ddaney@caviumnetworks.com>
Subject: Re: [PATCH 3/3] ftrace/MIPS: Enable C Version of recordmcount
Date: Sat, 30 Oct 2010 14:28:49 +0100 (BST)	[thread overview]
Message-ID: <alpine.LFD.2.00.1010301414060.25426@eddie.linux-mips.org> (raw)
In-Reply-To: <1288186564.18238.126.camel@gandalf.stny.rr.com>

On Wed, 27 Oct 2010, Steven Rostedt wrote:

> On Wed, 2010-10-27 at 18:59 +0800, Wu Zhangjin wrote:
> > From: Wu Zhangjin <wuzhangjin@gmail.com>
> > 
> > Selects HAVE_C_RECORDMCOUNT to use the C version of the recordmcount
> > intead of the old Perl Version of recordmcount.
> > 
> > Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
> 
> I'd like to get an Acked-by from Ralf and Maciej on this.

Acked-by: Maciej W. Rozycki <macro@linux-mips.org>

 I have looked through it and spotted nothing obviously wrong, but I can't 
afford any further testing, especially at run time, sorry.

 One point to note -- it seems to me the code currently assumes a 32-bit 
model, i.e. the use of the -msym32 GCC option suitable for a 64-bit kernel 
loaded to a CKSEG0 address (cf. KBUILD_SYM32 in arch/mips/Makefile), tools 
support permitting.  That means it does not (correctly) support kernels 
loaded to an XPHYS address as required for some platforms (or otherwise 
chosen for testing such a configuration; modulo some processor errata and 
bootloader limitations, it is generally OK to run the kernel from XPHYS on 
64-bit chips even if the entire RAM fits into CKSEG0).

 For the avoidance of doubt -- I'm just mentioning it to emphasise a 
possible future direction for improvement of this code -- not an objection 
against this submission, that is certainly a good foundation for future 
development.

 Thanks to everybody involved.

  Maciej

  reply	other threads:[~2010-10-30 13:28 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-27 10:59 [PATCH 0/3] Add C version of recordmcount for MIPS Wu Zhangjin
2010-10-27 10:59 ` [PATCH 1/3] ftrace/MIPS: Add MIPS64 support for C version of recordmcount Wu Zhangjin
2010-10-27 13:32   ` Steven Rostedt
2010-10-27 14:09     ` wu zhangjin
2010-10-27 14:38       ` Steven Rostedt
2010-10-27 15:59         ` wu zhangjin
2010-10-27 10:59 ` [PATCH 2/3] ftrace/MIPS: Add module " Wu Zhangjin
2010-10-27 10:59 ` [PATCH 3/3] ftrace/MIPS: Enable C Version " Wu Zhangjin
2010-10-27 13:36   ` Steven Rostedt
2010-10-30 13:28     ` Maciej W. Rozycki [this message]
2010-10-28 14:05 [PATCH 0/3] [GIT PULL] ftrace: recordmcount.c updates for MIPS Steven Rostedt
2010-10-28 14:05 ` [PATCH 3/3] ftrace/MIPS: Enable C Version of recordmcount Steven Rostedt

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=alpine.LFD.2.00.1010301414060.25426@eddie.linux-mips.org \
    --to=macro@linux-mips.org \
    --cc=ddaney@caviumnetworks.com \
    --cc=jreiser@bitwagon.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@linux-mips.org \
    --cc=ralf@linux-mips.org \
    --cc=rostedt@goodmis.org \
    --cc=wuzhangjin@gmail.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

all inboxes | Powered by JetHome®