Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754118Ab0K2VH3 (ORCPT ); Mon, 29 Nov 2010 16:07:29 -0500 Received: from mail-yx0-f174.google.com ([209.85.213.174]:43592 "EHLO mail-yx0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754073Ab0K2VH0 convert rfc822-to-8bit (ORCPT ); Mon, 29 Nov 2010 16:07:26 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=ifKSMFrutPe5Cn9pZe+gT1ngFd0XB00M0Rp3wOSeQ3zcyn8Mc4tm6FqTEq4ZS1LmzD 7AYPthvtYsUfW860ratIgZqEl3SZyxXtQu94Iid7A5pbGxU6v9vbpsz9T4gydpO+6tSG zKMOWT0ms/ebdf+Ru3j3KNZ+S9L9VXbrkeHXk= MIME-Version: 1.0 In-Reply-To: References: <20101129081619.GD5218@cr0.nay.redhat.com> <20101129085250.GF5218@cr0.nay.redhat.com> Date: Mon, 29 Nov 2010 22:07:25 +0100 Message-ID: Subject: Re: [PATCH] Built kernel without -O2 option From: richard -rw- weinberger To: Arnaud Lacombe Cc: =?ISO-8859-1?Q?Am=E9rico_Wang?= , Hui Zhu , linux-kernel@vger.kernel.org, gdb@sourceware.org, hellogcc@freelists.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1024 Lines: 31 On Mon, Nov 29, 2010 at 10:00 PM, Arnaud Lacombe wrote: > Hi, > > On Mon, Nov 29, 2010 at 3:51 PM, richard -rw- weinberger > wrote: >> On Mon, Nov 29, 2010 at 9:52 AM, Am?rico Wang wrote: >>>> [...] >>> No, I didn't mean this, I meant some function that have to be inlined >>> are those who only work when being inlined, e.g. current_text_addr(). >> >> Can you please explain to me why some functions work only when they are inlined? >> Is it because of asm() black magic? >> > obviously, you do not understand the purpose of this function... this is why i was asking! anyway, now i got it. thanks to peter zijlstra for the kind explanation on #kernelnewbies. > ?- Arnaud > -- Thanks, //richard -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/