From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50602) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e6Zth-0007Nt-S7 for qemu-devel@nongnu.org; Mon, 23 Oct 2017 06:23:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e6Ztd-0003XC-TY for qemu-devel@nongnu.org; Mon, 23 Oct 2017 06:23:53 -0400 Received: from mx1.redhat.com ([209.132.183.28]:48998) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e6Ztd-0003X0-Mt for qemu-devel@nongnu.org; Mon, 23 Oct 2017 06:23:49 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id B6368C0587CD for ; Mon, 23 Oct 2017 10:23:48 +0000 (UTC) Date: Mon, 23 Oct 2017 11:23:39 +0100 From: "Daniel P. Berrange" Message-ID: <20171023102339.GF16472@redhat.com> Reply-To: "Daniel P. Berrange" References: <20171023095910.23202-1-marcandre.lureau@redhat.com> <20171023095910.23202-5-marcandre.lureau@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20171023095910.23202-5-marcandre.lureau@redhat.com> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v5 4/6] memfd: add hugetlb support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?utf-8?Q?Marc-Andr=C3=A9?= Lureau Cc: qemu-devel@nongnu.org, pbonzini@redhat.com, ehabkost@redhat.com On Mon, Oct 23, 2017 at 10:59:08AM +0100, Marc-Andr=C3=A9 Lureau wrote: > Linux commit 749df87bd7bee5a79cef073f5d032ddb2b211de8 (v4.14-rc1) > added a new flag MFD_HUGETLB to memfd_create() that specify the file > to be created resides in the hugetlbfs filesystem. This is the > generic hugetlbfs filesystem not associated with any specific mount > point. How do you know and/or control what size huge pages are used, when the platform supports many sizes ? Regards, Daniel --=20 |: https://berrange.com -o- https://www.flickr.com/photos/dberran= ge :| |: https://libvirt.org -o- https://fstop138.berrange.c= om :| |: https://entangle-photo.org -o- https://www.instagram.com/dberran= ge :|