From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:38160) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1fAl-0002i5-EI for qemu-devel@nongnu.org; Wed, 15 Aug 2012 11:06:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T1fAk-0000nM-FW for qemu-devel@nongnu.org; Wed, 15 Aug 2012 11:06:15 -0400 Received: from isrv.corpit.ru ([86.62.121.231]:60411) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1fAk-0000nF-6q for qemu-devel@nongnu.org; Wed, 15 Aug 2012 11:06:14 -0400 Message-ID: <502BBAE5.7020202@msgid.tls.msk.ru> Date: Wed, 15 Aug 2012 19:06:13 +0400 From: Michael Tokarev MIME-Version: 1.0 References: <502B99D0.8010808@msgid.tls.msk.ru> <502B9B40.6090307@redhat.com> <502BB0C2.3040701@msgid.tls.msk.ru> <502BB1A6.7030407@redhat.com> <502BBA3C.70506@msgid.tls.msk.ru> In-Reply-To: <502BBA3C.70506@msgid.tls.msk.ru> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] qemu and transparent huge pages List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: Andrea Arcangeli , qemu-devel On 15.08.2012 19:03, Michael Tokarev wrote: > +#ifdef MADV_HUGEPAGE > +#error Heh. This #error shouldn't be here ofcourse, I were checking if we really getting there. > + qemu_madvise(ptr, size, MADV_HUGEPAGE); > +#endif