Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp6183003imb; Fri, 8 Mar 2019 11:08:47 -0800 (PST) X-Google-Smtp-Source: APXvYqyA3b+Sw3AFLhdWqAB2eOjJ4nsRJRL760flPbqJnSou5DHMRVcTRRGzQjryBD+Jp7F6fBVm X-Received: by 2002:a63:2bd5:: with SMTP id r204mr18423723pgr.48.1552072127159; Fri, 08 Mar 2019 11:08:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1552072127; cv=none; d=google.com; s=arc-20160816; b=0zllIuKz7TrBLMPYai5sJnF/Li0MYHrGLb/XKpn1BXveywP5VZtLmQlc9J4ZgOQeX7 LtgIr4Ex2saj4rem7wixl1oCdHoJtMek7X2uSg1H/7IsFIZ2ECytKBB/cT74GTvgx9M2 E50t5asTR5jeyZ4TmSLahsk0wwLbLdgjm7Z1Md3C+vMceJAuuU5fM6Aqh9RdrMspETqs StRi7HWjbokaoPHg+ln/w/YpvsXgMgbb3qRwTLcXyH/ujyTROo5jlWBNljpOfxn2inn6 5YHwiNJLnC4yGxsbY1Xvgum6VpCnIw3O7jBUMwRM0sqnTJhnOuBZe18G9BU3n+N2mAET d+cQ== 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=iNw+1Pkhe5J5ZGLMUPt5A+xkhv7bHoIoSqlJ28oJklA=; b=jt6FyIQVZxzz8+eY0C2/Xcez3yzXB1rdiWh5sQeTBAVzyDApYkyaLDxzUNY0bpq1yD ihOqGykjRfnoUknntqOrvzmyfVJsIndABqjyIcWvqg/A6t6zsu7Em8kw0Wp5Cb2SOGrS ReKRN51GdDSGicswhl5vkL/kvcxIz83Xoowi5hNQZenX0Le+Oy/wE0sSeFnlnU5RY5N3 JuuqBBjrjub6a5hvc73mKR/33XGk9s72LSXVBGOUNFlQCAui9Bp2AsO44BNzTIRBNFKd nBQmUoAbRWyyGnVvoIqh8sKPtzGkC7P7oma2KOZU1EsqPRMHChayU/awxdc5q1mUKcfb lbmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b=fC6oxcMF; 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 c11si8131129pfc.39.2019.03.08.11.08.31; Fri, 08 Mar 2019 11:08:47 -0800 (PST) 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=fC6oxcMF; 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 S1726770AbfCHTIF (ORCPT + 99 others); Fri, 8 Mar 2019 14:08:05 -0500 Received: from aserp2130.oracle.com ([141.146.126.79]:42810 "EHLO aserp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726296AbfCHTIF (ORCPT ); Fri, 8 Mar 2019 14:08:05 -0500 Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x28IxXbi076674; Fri, 8 Mar 2019 19:05:41 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=iNw+1Pkhe5J5ZGLMUPt5A+xkhv7bHoIoSqlJ28oJklA=; b=fC6oxcMFe3aedswwYjUt3YGCRHcTEApkEJ3pHGxc7CBgzbQZWAgx6C7QL12S6pFz/kBN W8eVQ3L6xRc2eWZcfrY85ztNWdbet0ezZ6qqe4GyV6uoSeQn9TxT10biMLAtTis3bePz l/SSypmfrYDEVC3RHqphEKUeRw9XBh7fxqP5OAQ9oaTmkBLHiqfb+0youdlfAC2+pGHi FXnG+l4g8P2eIzB7vqICX7ATzsXPigdLInRyVRYiKDAn1v8GJJB9eUFyc2L4w9+i8AoI 3hVRzwtEz5eihwNpe9k4QQ4K/oth1FZPrLyBNpUxAUUWAmOdJK2cVe/Kv3uOaChfh4ec MQ== Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by aserp2130.oracle.com with ESMTP id 2qyfbet8n2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 08 Mar 2019 19:05:41 +0000 Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id x28J5XxU032261 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 8 Mar 2019 19:05:34 GMT Received: from abhmp0011.oracle.com (abhmp0011.oracle.com [141.146.116.17]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id x28J5S2i011046; Fri, 8 Mar 2019 19:05:28 GMT Received: from [192.168.1.164] (/50.38.38.67) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 08 Mar 2019 11:05:27 -0800 Subject: Re: [PATCH v6 4/4] hugetlb: allow to free gigantic pages regardless of the configuration To: Alexandre Ghiti , Andrew Morton , Vlastimil Babka , Catalin Marinas , Will Deacon , Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , 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: <20190307132015.26970-1-alex@ghiti.fr> <20190307132015.26970-5-alex@ghiti.fr> From: Mike Kravetz Message-ID: Date: Fri, 8 Mar 2019 11:05:25 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <20190307132015.26970-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=9189 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-1903080132 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/7/19 5:20 AM, 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] Reviewed-by: Mike Kravetz -- Mike Kravetz