From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761252AbXGXTcd (ORCPT ); Tue, 24 Jul 2007 15:32:33 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755014AbXGXTcX (ORCPT ); Tue, 24 Jul 2007 15:32:23 -0400 Received: from mail.suse.de ([195.135.220.2]:53443 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754507AbXGXTcW (ORCPT ); Tue, 24 Jul 2007 15:32:22 -0400 To: Linus Torvalds Cc: Andrew Morton , Adrian Bunk , Alexey Dobriyan , linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: 2.6.23-rc1: BUG_ON in kmap_atomic_prot() References: <20070723183839.GA5874@martell.zuzino.mipt.ru> <20070723190152.GA5755@martell.zuzino.mipt.ru> <20070723132431.42afbae8.akpm@linux-foundation.org> <20070723204045.GD5755@martell.zuzino.mipt.ru> <20070723210153.GA5753@martell.zuzino.mipt.ru> <20070723141137.171e4ac1.akpm@linux-foundation.org> <20070724175951.GC6019@stusta.de> <20070724112843.0cc104c2.akpm@linux-foundation.org> From: Andi Kleen Date: 24 Jul 2007 22:27:11 +0200 In-Reply-To: Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Linus Torvalds writes: > > So "called once" should probably make the inlining weight bigger (ie > inline *larger* functions than you would otherwise), it just shouldn't > make it "infinite". It's not worth it. There's probably a --param where it can be tweaked exactly. The problem is that --params tend to be very gcc version specific and might do something completely different on a newer or older version. So it's better not to use them. -Andi