From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 575DFC433E0 for ; Wed, 17 Feb 2021 08:13:32 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id CB80864DFF for ; Wed, 17 Feb 2021 08:13:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CB80864DFF Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=suse.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 3B3B98D0028; Wed, 17 Feb 2021 03:13:31 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 33A8E8D0019; Wed, 17 Feb 2021 03:13:31 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 18E4D8D0028; Wed, 17 Feb 2021 03:13:31 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0155.hostedemail.com [216.40.44.155]) by kanga.kvack.org (Postfix) with ESMTP id 00BD08D0019 for ; Wed, 17 Feb 2021 03:13:30 -0500 (EST) Received: from smtpin10.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id AE1BB1E05 for ; Wed, 17 Feb 2021 08:13:30 +0000 (UTC) X-FDA: 77827045380.10.03A27A5 Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by imf26.hostedemail.com (Postfix) with ESMTP id 84D0840001DE for ; Wed, 17 Feb 2021 08:13:25 +0000 (UTC) X-Virus-Scanned: by amavisd-new at test-mx.suse.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1613549607; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=mZOJ/UPZVM5QafRw9G6/ddz8ni+BbKdndoGQZhCbKHc=; b=g7fyRnyh8hvQSOAK41MnNTxYRy1Axsl3WryU6jpMDE2UlxQKdd/vUjPJcEo+cGFAceE7kR smDZN6XkiGwEpXmRmqckxsXa1jzZzGi9yEB1ebtDmjeb2cw9adilSR/1RdyjHnSDlyaWI7 u+ywtCLsev6QS0bQSM84Vy0ESjVGNCM= Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id CE6FEB923; Wed, 17 Feb 2021 08:13:26 +0000 (UTC) Date: Wed, 17 Feb 2021 09:13:24 +0100 From: Michal Hocko To: Mike Kravetz Cc: Muchun Song , Jonathan Corbet , Thomas Gleixner , mingo@redhat.com, bp@alien8.de, x86@kernel.org, hpa@zytor.com, dave.hansen@linux.intel.com, luto@kernel.org, Peter Zijlstra , viro@zeniv.linux.org.uk, Andrew Morton , paulmck@kernel.org, mchehab+huawei@kernel.org, pawan.kumar.gupta@linux.intel.com, Randy Dunlap , oneukum@suse.com, anshuman.khandual@arm.com, jroedel@suse.de, Mina Almasry , David Rientjes , Matthew Wilcox , Oscar Salvador , "Song Bao Hua (Barry Song)" , David Hildenbrand , HORIGUCHI =?utf-8?B?TkFPWUEo5aCA5Y+jIOebtOS5nyk=?= , Joao Martins , Xiongchun duan , linux-doc@vger.kernel.org, LKML , Linux Memory Management List , linux-fsdevel Subject: Re: [External] Re: [PATCH v15 4/8] mm: hugetlb: alloc the vmemmap pages associated with each HugeTLB page Message-ID: References: <29cdbd0f-dbc2-1a72-15b7-55f81000fa9e@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <29cdbd0f-dbc2-1a72-15b7-55f81000fa9e@oracle.com> X-Stat-Signature: aich9h6yzc6ccxtkq8dbsxsgyye9xy4x X-Rspamd-Server: rspam02 X-Rspamd-Queue-Id: 84D0840001DE Received-SPF: none (suse.com>: No applicable sender policy available) receiver=imf26; identity=mailfrom; envelope-from=""; helo=mx2.suse.de; client-ip=195.135.220.15 X-HE-DKIM-Result: pass/pass X-HE-Tag: 1613549605-278850 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Tue 16-02-21 11:44:34, Mike Kravetz wrote: [...] > If we are not going to do the allocations under the lock, then we will need > to either preallocate or take the workqueue approach. We can still drop the lock temporarily right? As we already do before calling destroy_compound_gigantic_page... -- Michal Hocko SUSE Labs