From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761634AbYDZUCa (ORCPT ); Sat, 26 Apr 2008 16:02:30 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757810AbYDZUCU (ORCPT ); Sat, 26 Apr 2008 16:02:20 -0400 Received: from smtp-out04.alice-dsl.net ([88.44.63.6]:65281 "EHLO smtp-out04.alice-dsl.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750770AbYDZUCT (ORCPT ); Sat, 26 Apr 2008 16:02:19 -0400 To: Denys Vlasenko Cc: David Chinner , xfs@oss.sgi.com, Eric Sandeen , Adrian Bunk , linux-kernel@vger.kernel.org Subject: Re: [PATCH] xfs: reduce stack usage in xfs_bmap_btalloc() From: Andi Kleen References: <200804261651.02078.vda.linux__2040.04651536724$1209223026$gmane$org@googlemail.com> Date: Sat, 26 Apr 2008 22:02:17 +0200 In-Reply-To: <200804261651.02078.vda.linux__2040.04651536724$1209223026$gmane$org@googlemail.com> (Denys Vlasenko's message of "Sat, 26 Apr 2008 16:51:02 +0200") Message-ID: <87iqy4wfjq.fsf@basil.nowhere.org> User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-OriginalArrivalTime: 26 Apr 2008 19:55:25.0844 (UTC) FILETIME=[7850FD40:01C8A7D7] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Denys Vlasenko writes: > > Compile tested only. You should mark the helper noinline just to prevent gcc from possibly inlining it. Even if it doesn't with your current compiler inline heuristics vary widely between compiler versions. -Andi