From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] kvm tools: Add option to specify backing storage for RAM Date: Thu, 21 Apr 2011 17:12:48 +0300 Message-ID: <4DB03B60.3010007@redhat.com> References: <1303389930-30303-1-git-send-email-levinsasha928@gmail.com> <1303390803.3127.4.camel@stimpy> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Sasha Levin , mingo@elte.hu, asias.hejun@gmail.com, gorcunov@gmail.com, prasadjoshi124@gmail.com, kvm@vger.kernel.org To: Pekka Enberg Return-path: Received: from mx1.redhat.com ([209.132.183.28]:24540 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751669Ab1DUOND (ORCPT ); Thu, 21 Apr 2011 10:13:03 -0400 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On 04/21/2011 04:12 PM, Pekka Enberg wrote: > On Thu, Apr 21, 2011 at 4:00 PM, Sasha Levin wrote: > > This can also be extended to use hugetlbfs. > > Recent Linux kernels support transparent hugepages so you can do > MADV_HUGEPAGE on mmap'd memory. Note, it has to be aligned correctly (to a 2M boundary), and it must be anonymous memory. -- error compiling committee.c: too many arguments to function