Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757661AbbKFWjD (ORCPT ); Fri, 6 Nov 2015 17:39:03 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:51053 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753116AbbKFWjB (ORCPT ); Fri, 6 Nov 2015 17:39:01 -0500 Date: Fri, 6 Nov 2015 14:39:00 -0800 From: Andrew Morton To: "Kirill A. Shutemov" Cc: "Kirill A. Shutemov" , Andrea Arcangeli , Hugh Dickins , Naoya Horiguchi , Sasha Levin , Minchan Kim , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Vladimir Davydov Subject: Re: [PATCH 4/4] mm: prepare page_referenced() and page_idle to new THP refcounting Message-Id: <20151106143900.e61c38b5bf3e44547873d9d2@linux-foundation.org> In-Reply-To: <20151106102921.GA6463@node.shutemov.name> References: <1446564375-72143-1-git-send-email-kirill.shutemov@linux.intel.com> <1446564375-72143-5-git-send-email-kirill.shutemov@linux.intel.com> <20151105163211.608eec970de21a95faf6e156@linux-foundation.org> <20151106102921.GA6463@node.shutemov.name> X-Mailer: Sylpheed 3.4.1 (GTK+ 2.24.23; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 787 Lines: 23 On Fri, 6 Nov 2015 12:29:21 +0200 "Kirill A. Shutemov" wrote: > > page_mapcount() is getting pretty bad too. > > Do you want me to uninline slow path (PageCompound())? I guess so. Uninlining all of page_mapcount() does this: gcc-4.4.4: text data bss dec hex filename 973702 273954 831512 2079168 1fb9c0 mm/built-in.o-before 970148 273954 831000 2075102 1fa9de mm/built-in.o-after That's quite a bit of bloat. I don't know why bss changed; this usually (always?) happens. Seems bogus. -- 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/