Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp4429866imb; Wed, 6 Mar 2019 13:13:39 -0800 (PST) X-Google-Smtp-Source: APXvYqx5YODXEy/yrIgMbpndp/Rl8Z9YMNW5Q7csWt/wySnsvntvLdRewYnxBGr9Zxi/IcsEmZbD X-Received: by 2002:a63:c00c:: with SMTP id h12mr8122207pgg.423.1551906819275; Wed, 06 Mar 2019 13:13:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551906819; cv=none; d=google.com; s=arc-20160816; b=YWplOmCN2wEyltkO7oG6LHiZIqrHJpetkDHq0Hw94GuZYeGl/ZkRQg3tpGL9ypzHxS FEhLmnsVD1nLMrMrUmbV4zrIzlxfYaqFLYWzrJ3/ZWiawsFL/+bUcrt0is9sZ+vhxnN/ uvg5c1Xd9OyGyDyrLWx0Dfqs1V2aKhwa5eqTru+ERy32B99UwmD7aDOKgu6zLDS0iAgl ZMk2g0GR6pStvZhvJJqDJfoV2+XJbHkM4UT3gonNN+rULH2+X7/zHx4/4yZ59PaxK+QJ jbC3lFVN2U1xKF/eNFeIQ8J9DvvWSnXfVCKYEW115Jthh8Fi0rRUZ98elpnREf+ZkZox 7gmw== 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:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=XR59J7wGl3COw01HQfRSC8hpW+mOwyiiLHLXKBH0SDg=; b=MogCLTwyzuquhSG5zGi4oVDmELW/IfpOMYNCxGPH2IoMglPmX9ROnMkCiSlHbxs2Er ZxXItnfN9L584dlx/QYy5ztRw2tU8ORJb0sGgoDU9HA8OD0Mg8UIeCF2dxm7noD9ZOUZ Vj9HSYRfr0FV65W8HJV3d+hkLl8xaFL9658Op0PhZYwZdpZX+F21bJOypxzFQQaLL43H hqrpFN8Kj7IoD25WGvE4g8/YugtkbYkzxy2y0BBxxH9bj3h12BIj++OuL00SCYkUQOYl 0749Tl8rFWtb3VOQdoqkd0ch9lvJX8fWJIpoB2F7+G5SGBGWaXkctTaph4F/4htGGpSa +T/Q== 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 x3si571391plb.127.2019.03.06.13.13.21; Wed, 06 Mar 2019 13:13:39 -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 S1729764AbfCFTU0 (ORCPT + 99 others); Wed, 6 Mar 2019 14:20:26 -0500 Received: from shards.monkeyblade.net ([23.128.96.9]:39742 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726425AbfCFTU0 (ORCPT ); Wed, 6 Mar 2019 14:20:26 -0500 Received: from localhost (unknown [IPv6:2601:601:9f80:35cd::d71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 029451454DBAD; Wed, 6 Mar 2019 11:20:23 -0800 (PST) Date: Wed, 06 Mar 2019 11:20:23 -0800 (PST) Message-Id: <20190306.112023.204648705168304981.davem@davemloft.net> To: alex@ghiti.fr Cc: vbabka@suse.cz, catalin.marinas@arm.com, will.deacon@arm.com, benh@kernel.crashing.org, paulus@samba.org, mpe@ellerman.id.au, schwidefsky@de.ibm.com, heiko.carstens@de.ibm.com, ysato@users.sourceforge.jp, dalias@libc.org, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, hpa@zytor.com, x86@kernel.org, dave.hansen@linux.intel.com, luto@kernel.org, peterz@infradead.org, mike.kravetz@oracle.com, 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 v5 4/4] hugetlb: allow to free gigantic pages regardless of the configuration From: David Miller In-Reply-To: <20190306190005.7036-5-alex@ghiti.fr> References: <20190306190005.7036-1-alex@ghiti.fr> <20190306190005.7036-5-alex@ghiti.fr> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Wed, 06 Mar 2019 11:20:24 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Alexandre Ghiti Date: Wed, 6 Mar 2019 14:00:05 -0500 > 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 For sparc: Acked-by: David S. Miller