From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751919AbdJJFnr (ORCPT ); Tue, 10 Oct 2017 01:43:47 -0400 Received: from mga06.intel.com ([134.134.136.31]:56947 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751809AbdJJFnq (ORCPT ); Tue, 10 Oct 2017 01:43:46 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,503,1500966000"; d="scan'208";a="1180432373" Date: Tue, 10 Oct 2017 13:43:43 +0800 From: Aaron Lu To: Dave Hansen Cc: linux-mm , lkml , Andrew Morton , Andi Kleen , Huang Ying , Tim Chen , Kemi Wang , Anshuman Khandual Subject: Re: [PATCH v2] mm/page_alloc.c: inline __rmqueue() Message-ID: <20171010054342.GF1798@intel.com> References: <20171009054434.GA1798@intel.com> <3a46edcf-88f8-e4f4-8b15-3c02620308e4@intel.com> <20171010025151.GD1798@intel.com> <20171010025601.GE1798@intel.com> <8d6a98d3-764e-fd41-59dc-88a9d21822c7@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8d6a98d3-764e-fd41-59dc-88a9d21822c7@intel.com> User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 09, 2017 at 10:19:52PM -0700, Dave Hansen wrote: > On 10/09/2017 07:56 PM, Aaron Lu wrote: > > This patch adds inline to __rmqueue() and vmlinux' size doesn't have any > > change after this patch according to size(1). > > > > without this patch: > > text data bss dec hex filename > > 9968576 5793372 17715200 33477148 1fed21c vmlinux > > > > with this patch: > > text data bss dec hex filename > > 9968576 5793372 17715200 33477148 1fed21c vmlinux > > This is unexpected. Could you double-check this, please? mm/page_alloc.o has size changes: Without this patch: $ size mm/page_alloc.o text data bss dec hex filename 36695 9792 8396 54883 d663 mm/page_alloc.o With this patch: $ size mm/page_alloc.o text data bss dec hex filename 37511 9792 8396 55699 d993 mm/page_alloc.o But vmlinux doesn't. It's not clear to me what happened, do you want to me dig this out?