Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp554646imm; Fri, 13 Jul 2018 02:11:00 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfM32ReDntwBYyZaf/Eo7Y9+vSFGRhYmMWPjwBLYE/LHxdKBda/a/CQZeeysjuLFJs/1zSW X-Received: by 2002:a63:7c5c:: with SMTP id l28-v6mr5422589pgn.352.1531473060860; Fri, 13 Jul 2018 02:11:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531473060; cv=none; d=google.com; s=arc-20160816; b=jknQhp22O6kqZ7HYWljLu31YDgf8cacJuJRLxbeQz8c5G+a1q8qx0pPYbX8jZDQkqW aYosVJU4YNQqFxsnIhZejDbMbkJditRRLeyv/AxbbDflZcRCayf767sYHb12nkivtm8E nY3p17N0OO89yBjhclB3pbe5wZNwUmqFx9bM2A6Smn2h9glTkfvBPw5nE6ZDOGkfXrrX oO4tecazRX8bT/2sM3UbOyvvOtJaSHOXzxElQdKA9Z71lqJmxCVuLecFMv16dJet/F82 lyQy8fdSPBenlXVIu0fx7Lkt/uO4i38s3Nwyy2RavtaONe4es8Yx6CHoKsXNkLqVHk7m wGLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=xKvZkHOlUeQIYo9gwW94vyuckDuJUjSok2n/F05uD1Q=; b=Z+90pmW5uWMS7bhJk++Kxqv8D9c9SF/Iu+YSxK1mf0IRSXWGkHzp5UiVzTluDWlbCE 8V8lxgGqdUANIor8N4pQhp6DQG9c4dcDeCeR/FpI4QGcxl3bpX25SleZXavcLk9LHzB5 ptOPHTSf8AAaMOSx+1CfY4idkmjQrBDVztyrep6pDdvwpCqVSvj5wyFABT1r2grIQ/9b kvZ8sNMa3ZTJJdPjoT13ODE5Mzc+1PIEyJdoNifh9W3GkbFb++YVYXM16ifdm4F0Dn9j 70VtE3SBXRL51WRgkqneBpJrBsWKMvI6v79kRgYytHKj7WJzv7NmgrXlfbqPloXDDTzc xRKg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t128-v6si21689413pgt.598.2018.07.13.02.10.45; Fri, 13 Jul 2018 02:11:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727306AbeGMJXg (ORCPT + 99 others); Fri, 13 Jul 2018 05:23:36 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:54604 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726626AbeGMJXg (ORCPT ); Fri, 13 Jul 2018 05:23:36 -0400 Received: by mail-wm0-f68.google.com with SMTP id i139-v6so8075744wmf.4 for ; Fri, 13 Jul 2018 02:09:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=xKvZkHOlUeQIYo9gwW94vyuckDuJUjSok2n/F05uD1Q=; b=CaX8gdD5+X4OEyXn56oSBTKeDfwut61slaMl2MNrQHTkYlGTHrhApT16+4Iat0k3fp moTRZMGjsA/fjw6PrYV/AeBV+I1fJzrOgnWdYYnqWpDlvyOl5/S/9q0E1EWLQq/ruqdm hVuABUtepJHn8YdnGeWHvl6vtQ7YUFxcqd9X0N0gX0WebBjAcWCGb3CVfIpCiHGTJyN5 jg2yR1CTdGgL3Ur12nN2ByXoIb5JjekxZeRJjq9s8KrLP0T8CgxsY0/wRNqwhvXSex4L Nk5uvgngbWLU6P8TY3/3F+M9Fj+C/a6FBh5rCbrsf3Y94MH1DdxYuudT+bZoaMjrTHR4 NbvQ== X-Gm-Message-State: AOUpUlHLdpD43aGUEWR8b9jJKdnn7A2prlxgoo7fR6LkIm3CUysKW2fe W8TxpycjDHjJCVi94n2B70o= X-Received: by 2002:a1c:3e92:: with SMTP id l140-v6mr3302336wma.134.1531472990691; Fri, 13 Jul 2018 02:09:50 -0700 (PDT) Received: from techadventures.net (techadventures.net. [62.201.165.239]) by smtp.gmail.com with ESMTPSA id m17-v6sm38528633wrg.65.2018.07.13.02.09.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Jul 2018 02:09:50 -0700 (PDT) Received: by techadventures.net (Postfix, from userid 1000) id 37046123EB7; Fri, 13 Jul 2018 11:09:49 +0200 (CEST) Date: Fri, 13 Jul 2018 11:09:49 +0200 From: Oscar Salvador To: Pavel Tatashin Cc: steven.sistare@oracle.com, daniel.m.jordan@oracle.com, linux-kernel@vger.kernel.org, akpm@linux-foundation.org, kirill.shutemov@linux.intel.com, mhocko@suse.com, linux-mm@kvack.org, dan.j.williams@intel.com, jack@suse.cz, jglisse@redhat.com, jrdr.linux@gmail.com, bhe@redhat.com, gregkh@linuxfoundation.org, vbabka@suse.cz, richard.weiyang@gmail.com, dave.hansen@intel.com, rientjes@google.com, mingo@kernel.org, abdhalee@linux.vnet.ibm.com, mpe@ellerman.id.au Subject: Re: [PATCH v5 5/5] mm/sparse: delete old sprase_init and enable new one Message-ID: <20180713090949.GA15039@techadventures.net> References: <20180712203730.8703-1-pasha.tatashin@oracle.com> <20180712203730.8703-6-pasha.tatashin@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180712203730.8703-6-pasha.tatashin@oracle.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > -#ifdef CONFIG_SPARSEMEM_ALLOC_MEM_MAP_TOGETHER > -static void __init sparse_early_mem_maps_alloc_node(void *data, > - unsigned long pnum_begin, > - unsigned long pnum_end, > - unsigned long map_count, int nodeid) > -{ > - struct page **map_map = (struct page **)data; > - > - sparse_buffer_init(section_map_size() * map_count, nodeid); > - sparse_mem_maps_populate_node(map_map, pnum_begin, pnum_end, > - map_count, nodeid); > - sparse_buffer_fini(); > -} From now on, sparse_mem_maps_populate_node() is not being used anymore, so I guess we can just remove it from sparse.c, right? (as it is done in sparse-vmemmap.c). -- Oscar Salvador SUSE L3