[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080627210359.GB29245@uranus.ravnborg.org>
Date: Fri, 27 Jun 2008 23:03:59 +0200
From: Sam Ravnborg <sam@...nborg.org>
To: Jan Beulich <jbeulich@...ell.com>
Cc: stable@...nel.org, llipavsky@...e.cz, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] move __attribute__((__cold__)) functions back into final .text section
On Wed, Jun 18, 2008 at 12:36:01PM +0100, Jan Beulich wrote:
> Due to the addition of __attribute__((__cold__)) to a few symbols
> without adjusting the linker scripts, those symbols currently may end
> up outside the [_stext,_etext) range, as they get placed in
> .text.unlikely by (at least) gcc 4.3.0. This may confuse code not only
> outside of the kernel, symbol_put_addr()'s BUG() could also trigger.
> Hence we need to add .text.unlikely (and for future uses of
> __attribute__((__hot__)) also .text.hot) to the TEXT_TEXT() macro.
>
> Issue observed by Lukas Lipavsky.
>
> Cc: Lukas Lipavsky <llipavsky@...e.cz>
> Signed-off-by: Jan Beulich <jbeulich@...ell.com>
Applied.
Sam
--
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