Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752879AbbEQMi7 (ORCPT ); Sun, 17 May 2015 08:38:59 -0400 Received: from gum.cmpxchg.org ([85.214.110.215]:48790 "EHLO gum.cmpxchg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752808AbbEQMiw (ORCPT ); Sun, 17 May 2015 08:38:52 -0400 Date: Sun, 17 May 2015 08:38:39 -0400 From: Johannes Weiner To: "Kirill A. Shutemov" Cc: Andrew Morton , linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH] radix-tree: replace preallocated node array with linked list Message-ID: <20150517123839.GA5575@cmpxchg.org> References: <1431531414-173802-1-git-send-email-kirill.shutemov@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1431531414-173802-1-git-send-email-kirill.shutemov@linux.intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 669 Lines: 14 On Wed, May 13, 2015 at 06:36:54PM +0300, Kirill A. Shutemov wrote: > Currently we use per-cpu array to hold pointers to preallocated nodes. > Let's replace it with linked list. On x86_64 it saves 256 bytes in > per-cpu ELF section which may translate into freeing up 2MB of memory > for NR_CPUS==8192. > > Signed-off-by: Kirill A. Shutemov Acked-by: Johannes Weiner -- 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/