Received: by 2002:a25:5b86:0:0:0:0:0 with SMTP id p128csp862539ybb; Thu, 28 Mar 2019 13:46:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqw7Qt4GO24fcg/wQ7hsBdIjDMegYFju6dK4BLdblYdC717VCtKa/N9tYzYXhqTuUiMU9hae X-Received: by 2002:a63:30c5:: with SMTP id w188mr17975019pgw.76.1553806012297; Thu, 28 Mar 2019 13:46:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553806012; cv=none; d=google.com; s=arc-20160816; b=d/UvDXRBibEhopplyw8r3LvFz70wKred/vUNbkspdjyZ6ChSg0kt4ZBtc6umcsijA6 sfFanUOoMGCqdWnnQmVqUsHKfabQyhbZOkCwnGvdlYwW+S9NqLkKR8bOOMMhWAWzCdRu Wm40E1lYOIYA7tPASUEF4/ZCW2i9aEnrUQ4MbjHPwduAJr5EUs4+qURAxvXILElYT/bG M4JX/gYhELOdsAKWHhnG46GWa8POA+AThrl1yaedEqbjl15vYgE8pWg3cvP2Tq2lXRKQ tlcLSJF46U9LysyldMAsFO+WRaUlj7OFC7bgMFdy2qtckkCqlLvSDX0R/ejcl/3qfDRV wTSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject:dkim-signature; bh=J/Sv2txgzYEAQ4VYGS+H5dOrwerREpOEMC59LuErUdk=; b=u7ugJCp7wVeI5dCXwDRSPxA2LhSzVCgQ+8ZL5/XGmI9tOI6DY7TrxSnxh2mBJxZVEW RddaYQa+SDFAuQMU6IHMqHjJTdxEKXPIvzvUWQFa3MedHAbEcsXBgBVlygaa+dGwPLdt 3L0IyODuDIZd8tYH87XabDBU4gS8yW8r9d8u4A0rxS2y17nPo4GLzdmlnNhnGPC1GLwp p5xSDKW69OEO3Lb+AiQ8u+Wo6VcP1iipGa2ggZkiZWHqv3SIkdwcyDR0Gae7Trdj4wEg iA3D4e8WvoMMPsJNuiyPVXTMYzopbG1UeuRaiWCRLnLDKTA3hX+U6hy1muPhWDhNBdn+ d/gA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b=G09CZy9Z; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i24si87848pgh.434.2019.03.28.13.46.35; Thu, 28 Mar 2019 13:46:52 -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; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b=G09CZy9Z; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727183AbfC1Upk (ORCPT + 99 others); Thu, 28 Mar 2019 16:45:40 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:51900 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726200AbfC1Upk (ORCPT ); Thu, 28 Mar 2019 16:45:40 -0400 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x2SKcwSi194673; Thu, 28 Mar 2019 20:43:48 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=subject : to : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=J/Sv2txgzYEAQ4VYGS+H5dOrwerREpOEMC59LuErUdk=; b=G09CZy9Z0roM3J+ekA923y0scmmhw58c0EyD8iu6QUJEMHCuxhJios+WlIW3SW5iL73B 13/C8qhnL08l/kO+BTG55KGvtEJ0sDQa1ef6mKANMn4jHKqih0MsrBQL4H5OOLOn2x/s XlzIHjdvMTtmI23IFkM90a4QdtkyikJLP7vIIxbLAH+GZj1QXD4mOz9yCjSrc+oNlPOf UqRC53OnOd9RdKE7AD92McPwrIwNQJQ1ibaAFZ8Xa3otnpP3Dxrcuw7purThc4o06ASu iRfG+TdvKA5K/JeEiHpcLKS0YRHGAKbT01uzeNa2/Du0jOzIo4YdHGf2YcycVJIz5iPk JA== Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp2120.oracle.com with ESMTP id 2re6djs2kv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 28 Mar 2019 20:43:47 +0000 Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id x2SKhiLW020325 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 28 Mar 2019 20:43:44 GMT Received: from abhmp0011.oracle.com (abhmp0011.oracle.com [141.146.116.17]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id x2SKhOq4024431; Thu, 28 Mar 2019 20:43:25 GMT Received: from [192.168.1.222] (/50.38.38.67) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 28 Mar 2019 13:43:24 -0700 Subject: Re: [PATCH v8 4/4] hugetlb: allow to free gigantic pages regardless of the configuration To: Alexandre Ghiti , aneesh.kumar@linux.ibm.com, mpe@ellerman.id.au, Andrew Morton , Vlastimil Babka , Catalin Marinas , Will Deacon , Benjamin Herrenschmidt , Paul Mackerras , Martin Schwidefsky , Heiko Carstens , Yoshinori Sato , Rich Felker , "David S . Miller" , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H . Peter Anvin" , x86@kernel.org, Dave Hansen , Andy Lutomirski , Peter Zijlstra , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, sparclinux@vger.kernel.org, linux-mm@kvack.org References: <20190327063626.18421-1-alex@ghiti.fr> <20190327063626.18421-5-alex@ghiti.fr> From: Mike Kravetz Message-ID: Date: Thu, 28 Mar 2019 13:43:21 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.0 MIME-Version: 1.0 In-Reply-To: <20190327063626.18421-5-alex@ghiti.fr> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9209 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1903280133 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/26/19 11:36 PM, Alexandre Ghiti wrote: > On systems without CONTIG_ALLOC activated but that support gigantic pages, > boottime reserved gigantic pages can not be freed at all. This patch > simply enables the possibility to hand back those pages to memory > allocator. > > Signed-off-by: Alexandre Ghiti > Acked-by: David S. Miller [sparc] Thanks for all the updates Reviewed-by: Mike Kravetz -- Mike Kravetz