From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753287AbdHKQOW (ORCPT ); Fri, 11 Aug 2017 12:14:22 -0400 Received: from userp1040.oracle.com ([156.151.31.81]:46912 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752724AbdHKQOU (ORCPT ); Fri, 11 Aug 2017 12:14:20 -0400 Subject: Re: [v6 14/15] mm: optimize early system hash allocations To: Michal Hocko Cc: linux-kernel@vger.kernel.org, sparclinux@vger.kernel.org, linux-mm@kvack.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, linux-arm-kernel@lists.infradead.org, x86@kernel.org, kasan-dev@googlegroups.com, borntraeger@de.ibm.com, heiko.carstens@de.ibm.com, davem@davemloft.net, willy@infradead.org, ard.biesheuvel@linaro.org, will.deacon@arm.com, catalin.marinas@arm.com, sam@ravnborg.org References: <1502138329-123460-1-git-send-email-pasha.tatashin@oracle.com> <1502138329-123460-15-git-send-email-pasha.tatashin@oracle.com> <20170811130541.GM30811@dhcp22.suse.cz> From: Pasha Tatashin Message-ID: <8da9321c-769c-3319-8c02-3c91d86b221e@oracle.com> Date: Fri, 11 Aug 2017 12:13:13 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <20170811130541.GM30811@dhcp22.suse.cz> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Source-IP: aserv0021.oracle.com [141.146.126.233] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >> Clients can call alloc_large_system_hash() with flag: HASH_ZERO to specify >> that memory that was allocated for system hash needs to be zeroed, >> otherwise the memory does not need to be zeroed, and client will initialize >> it. >> >> If memory does not need to be zero'd, call the new >> memblock_virt_alloc_raw() interface, and thus improve the boot performance. >> >> Signed-off-by: Pavel Tatashin >> Reviewed-by: Steven Sistare >> Reviewed-by: Daniel Jordan >> Reviewed-by: Bob Picco > > OK, but as mentioned in the previous patch add memblock_virt_alloc_raw > in this patch. > > Acked-by: Michal Hocko Ok I will merge them. Thank you, Pasha