[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.LFD.2.00.1010301414060.25426@eddie.linux-mips.org>
Date: Sat, 30 Oct 2010 14:28:49 +0100 (BST)
From: "Maciej W. Rozycki" <macro@...ux-mips.org>
To: Steven Rostedt <rostedt@...dmis.org>
cc: Wu Zhangjin <wuzhangjin@...il.com>,
Ralf Baechle <ralf@...ux-mips.org>, linux-mips@...ux-mips.org,
linux-kernel@...r.kernel.org, John Reiser <jreiser@...wagon.com>,
David Daney <ddaney@...iumnetworks.com>
Subject: Re: [PATCH 3/3] ftrace/MIPS: Enable C Version of recordmcount
On Wed, 27 Oct 2010, Steven Rostedt wrote:
> On Wed, 2010-10-27 at 18:59 +0800, Wu Zhangjin wrote:
> > From: Wu Zhangjin <wuzhangjin@...il.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@...il.com>
>
> I'd like to get an Acked-by from Ralf and Maciej on this.
Acked-by: Maciej W. Rozycki <macro@...ux-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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists