From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M9FZ6-0007RX-R8 for qemu-devel@nongnu.org; Wed, 27 May 2009 05:36:52 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M9FZ6-0007R1-30 for qemu-devel@nongnu.org; Wed, 27 May 2009 05:36:52 -0400 Received: from [199.232.76.173] (port=34981 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M9FZ5-0007Qo-RY for qemu-devel@nongnu.org; Wed, 27 May 2009 05:36:51 -0400 Received: from fg-out-1718.google.com ([72.14.220.158]:56612) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M9FZ5-00061S-J2 for qemu-devel@nongnu.org; Wed, 27 May 2009 05:36:51 -0400 Received: by fg-out-1718.google.com with SMTP id e21so1424878fga.8 for ; Wed, 27 May 2009 02:36:50 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <2803e73b0905270229p6e5f8f3bk4a12205f5726cf6e@mail.gmail.com> References: <2803e73b0905270229p6e5f8f3bk4a12205f5726cf6e@mail.gmail.com> Date: Wed, 27 May 2009 11:36:50 +0200 Message-ID: <761ea48b0905270236p1da826f1t97a10fa25528acf@mail.gmail.com> Subject: Re: [Qemu-devel] Remove qemu_alloc_physram() From: Laurent Desnogues Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: nicolas prochazka Cc: qemu-devel@nongnu.org On Wed, May 27, 2009 at 11:29 AM, nicolas prochazka wrote: > Hello, > Since this patch : > http://git.kernel.org/?p=3Dvirt/kvm/qemu-kvm.git;a=3Dcommit;h=3D0e8d16ba0= 6486ebf79f131f28121774715975248 > Remove qemu_alloc_physram() > Obsolete. > > function alloc_mem_area(memory, &map_len, mem_path); =A0is never calling = in code, > and it seems that's =A0-mem-path ( or -mempath) /hugepages =A0does not > work for me now. > before this patch, i can see for example in /proc/meminfo : > HugePages_Total: =A02560 > HugePages_Free: =A0 2301 > when i start one kvm/qemu > > now , HupePages_Free never down , hugepages_free =3D hugepages_total. Are you sure you're pointing at the right commit? How could the removal of an unused function change the behavior? Laurent