Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp6623705imb; Sat, 9 Mar 2019 01:33:28 -0800 (PST) X-Google-Smtp-Source: APXvYqxrRnZ16xrwSWE+VyGAzZU4X9TxRcSQgzIdqYIMJ3v2+qC1ymSnJHy1YTb4XncjSxCFv1M+ X-Received: by 2002:a62:54c5:: with SMTP id i188mr22468396pfb.188.1552124007978; Sat, 09 Mar 2019 01:33:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1552124007; cv=none; d=google.com; s=arc-20160816; b=btwj7/mFtSBpAIn9Q5R7llX8RkOcT2EPJ6gWs8XAyOEfTZ8Z7c0kC1m+iEMvNvFEgD YDWldAF9z2Cd8+Od5TUvaeU1vHcX1iVWV9nYiJwynxApPsFhay7s//yHAt25EHJPKbLw Tumrt6xlpuJGoadSKWnM+HGEzv3wL05ntf3SQGI78jETisUFVSt/8PQBD++OL13QLHGG fYws9CJ6mRIIB08lU8hChK8X+2aAxglSdpAaLwa2SRMm/ypGlaeFc4Ia683N7NK9mJwS 9PhFnMtU1w9ZfrXrRspHbhhOBRQUrBKPp6Ohxgitvd459ejPf7VC20GeZDW70/5VVAcC rdgw== 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:in-reply-to :mime-version:user-agent:date:message-id:references:subject:cc:to :from; bh=m3YaWiUDayIzwGWxSNd6zwNG8v0UoTSqgCO8vToSRgE=; b=Ho9Rktk0WvcuhShZ5Ov/ycXlLuHVZzoUCIVHWOAkm1CQn70/GuFGd305Jnhf69QL5N LInwrvE5inbDQsFPRN+ZQTeAjaTUdGcUqMOByWYXFTFADG7J9P9FPBZQTE4t0FrVbzTR QZ66rzKivOaa5eZbi8wmw+4vgQ+xHQHPIGAvjhxH9JbygQlTdUP82bj5S9l0oau94QI3 FrECI767/e7E7O954K6yqqUUF/JMFYQA8QUmOdMsHtf1lYK6wFtIUFIx1yGrsMFr5qAW XHsBXWZ7E0BDuVo7Uyx+i8oimrPkRHqKF0C2PSN0xmLIrVHgieP+ytzsC9+leTrofcg+ nkNA== 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 d12si129512pgt.59.2019.03.09.01.32.59; Sat, 09 Mar 2019 01:33:27 -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; 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 S1726289AbfCIJcb (ORCPT + 99 others); Sat, 9 Mar 2019 04:32:31 -0500 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:34469 "EHLO relay5-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725791AbfCIJca (ORCPT ); Sat, 9 Mar 2019 04:32:30 -0500 X-Originating-IP: 79.86.19.127 Received: from [192.168.0.11] (127.19.86.79.rev.sfr.net [79.86.19.127]) (Authenticated sender: alex@ghiti.fr) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 3E27B1C0005; Sat, 9 Mar 2019 09:32:06 +0000 (UTC) From: Alex Ghiti To: Mike Kravetz Cc: 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 Subject: Re: [PATCH v6 4/4] hugetlb: allow to free gigantic pages regardless of the configuration References: <20190307132015.26970-1-alex@ghiti.fr> <20190307132015.26970-5-alex@ghiti.fr> Message-ID: <416b046e-b1c0-00e1-0773-1dd869f7e121@ghiti.fr> Date: Sat, 9 Mar 2019 04:32:05 -0500 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: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/8/19 2:05 PM, Mike Kravetz wrote: > 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 Thanks Mike, Alex