From: David Hildenbrand Subject: Re: [PATCH kvm-unit-tests v2 07/11] s390x: initialize the physical allocator Date: Mon, 15 Jan 2018 11:35:35 +0100 Message-ID: <5786f338-ba06-a6b1-9ea8-24cdbaf8af3b@redhat.com> References: <20180112143417.16743-1-david@redhat.com> <20180112143417.16743-8-david@redhat.com> <20180115101614.7zazuegmbmu3p6ku@kamzik.brq.redhat.com> <9e24c7c0-4dfb-d8e3-0d38-f6e98e28f35d@redhat.com> <4249f737-1e1b-5709-7036-1d5d38cf4be0@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org, =?UTF-8?B?UmFkaW0gS3LEjW3DocWZ?= , Thomas Huth , Christian Borntraeger , Cornelia Huck To: Paolo Bonzini , Andrew Jones Return-path: Received: from mx1.redhat.com ([209.132.183.28]:11402 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754644AbeAOKfp (ORCPT ); Mon, 15 Jan 2018 05:35:45 -0500 In-Reply-To: <4249f737-1e1b-5709-7036-1d5d38cf4be0@redhat.com> Content-Language: en-US Sender: kvm-owner@vger.kernel.org List-ID: On 15.01.2018 11:31, Paolo Bonzini wrote: > On 15/01/2018 11:21, David Hildenbrand wrote: >>> Commit message isn't quite right. After this patch it's possible to >>> use malloc and memalign, based on the early-ops, but alloc_pages() >>> requires the freelist to be initialized first by free_pages(), done >>> by setup_vm(). >> >> That's interesting, as I am using alloc_pages() during setup_vm() I >> haven't noticed it. > > You're using it during setup_mmu, not setup_vm. ... which is only called from setup_vm(). > > Paolo > -- Thanks, David / dhildenb