Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753820Ab1CESvG (ORCPT ); Sat, 5 Mar 2011 13:51:06 -0500 Received: from mail-yw0-f46.google.com ([209.85.213.46]:64333 "EHLO mail-yw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752616Ab1CESvF (ORCPT ); Sat, 5 Mar 2011 13:51:05 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=UIwixQJZTVOD1PbQLdUIffInLJzTZOVY7f01JobL5ERHyZsONR3Fzie3OlldCWEiN+ 4+p4wUCnYEn8/iS752xse6B3DAtq1ZRAkbYP0VKLqY8yA1MVNVlllB8413wEQIRzYrf0 MRcOEHDadPc7WSZa7BWJ1dXM1tDhh30WsYMLY= MIME-Version: 1.0 In-Reply-To: <1299350956-5614-1-git-send-email-cesarb@cesarb.net> References: <1299350956-5614-1-git-send-email-cesarb@cesarb.net> Date: Sat, 5 Mar 2011 20:51:04 +0200 X-Google-Sender-Auth: uRljIPJCo9CBFp_mjaiYr15G134 Message-ID: Subject: Re: [PATCH] mm: remove inline from scan_swap_map From: Pekka Enberg To: Cesar Eduardo Barros Cc: linux-mm@kvack.org, Andrew Morton , Hugh Dickins , KAMEZAWA Hiroyuki , Minchan Kim , Jens Axboe , linux-kernel@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 769 Lines: 18 On Sat, Mar 5, 2011 at 8:49 PM, Cesar Eduardo Barros wrote: > scan_swap_map is a large function (224 lines), with several loops and a > complex control flow involving several gotos. > > Given all that, it is a bit silly that is is marked as inline. The > compiler agrees with me: on a x86-64 compile, it did not inline the > function. > > Remove the "inline" and let the compiler decide instead. > > Signed-off-by: Cesar Eduardo Barros Reviewed-by: Pekka Enberg -- 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/