[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <49839FB6.1080509@zytor.com>
Date: Fri, 30 Jan 2009 16:47:50 -0800
From: "H. Peter Anvin" <hpa@...or.com>
To: Ingo Molnar <mingo@...e.hu>
CC: Martin Hicks <mort@....com>, tglx@...utronix.de, mingo@...hat.com,
heukelum@...lshack.com, linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] x86: push old stack address on irqstack for unwinder
Ingo Molnar wrote:
>
> Would be nice to have an #ifdef-less primitive for this - something like:
>
> pushq_frame %rbp
>
> and a matching:
>
> popq_frame %rbp
>
> for those cases that need it (this one doesnt as we dont pop out of the
> stack).
>
It certainly would if this isn't a singleton, which I think it could
possibly be?
Otherwise it really should be a part of an entry/exit macro; this is
somewhat special in that it sets up a frame pointer as something other
than a normal entry/exit sequence.
-hpa
--
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