[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20080709192630.GA4804@elte.hu>
Date: Wed, 9 Jul 2008 21:26:30 +0200
From: Ingo Molnar <mingo@...e.hu>
To: Jeremy Fitzhardinge <jeremy@...p.org>
Cc: Nick Piggin <nickpiggin@...oo.com.au>,
LKML <linux-kernel@...r.kernel.org>,
Jens Axboe <axboe@...nel.dk>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Christoph Lameter <clameter@...ux-foundation.org>,
Petr Tesarik <ptesarik@...e.cz>,
Virtualization <virtualization@...ts.linux-foundation.org>,
Xen devel <xen-devel@...ts.xensource.com>,
Thomas Friebel <thomas.friebel@....com>,
Avi Kivity <avi@...ranet.com>,
the arch/x86 maintainers <x86@...nel.org>
Subject: Re: [patch] x86, paravirt-spinlocks: fix boot hang
* Jeremy Fitzhardinge <jeremy@...p.org> wrote:
>> should never
>> be built with -pg (which ftrace does). Marking paravirt.o as
>> non-pg and marking all spinlock ops as always-inline solve the
>> hang.
>>
>
> Thanks Ingo, that would have taken me a while to work out.
yeah, i figured i'd be the better candidate to debug ftrace related
problems ;-)
> Presumably that means that xen/smp.o should also be built without -pg.
> In fact, should I move the spinlock code into its own file, so that
> ftrace can cover as much as it can?
hm, yeah. Anything that can be called via the lowest level spinlock
functions should be either notrace, or, better, in a -pg-excluded .o
file. Putting it all into a separate file would cover it nicely i think.
Ingo
--
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