From patchwork Thu Jan 30 14:57:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Durrant X-Patchwork-Id: 11358203 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C8F89924 for ; Thu, 30 Jan 2020 14:59:22 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A4A4C2051A for ; Thu, 30 Jan 2020 14:59:22 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amazon.com header.i=@amazon.com header.b="Dc6Fr0jt" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A4A4C2051A Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=amazon.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1ixBGX-0003or-4l; Thu, 30 Jan 2020 14:57:57 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1ixBGV-0003of-G2 for xen-devel@lists.xenproject.org; Thu, 30 Jan 2020 14:57:55 +0000 X-Inumbo-ID: e549b94a-4370-11ea-8a92-12813bfff9fa Received: from smtp-fw-2101.amazon.com (unknown [72.21.196.25]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id e549b94a-4370-11ea-8a92-12813bfff9fa; Thu, 30 Jan 2020 14:57:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1580396275; x=1611932275; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=BlKtK+n+9tQIbSyEQ6bplYASFGZDWQ/XQ5TRYENI3zY=; b=Dc6Fr0jtJSdorRl7IHxZF48/NKfsG+4AYgEpQlQyQf6Ei5puEFGi6Ljy IwDF1JZHkuDNWYqmeOIV1ou/OtpJGz+Dc24F/Njr0VBk0IDaI0dhITNGx YQtAcPA9b8X/gWTeTeLrXZ7oO4z9cz/FKq47+1ZhZvDxgkYzaFE2ZyqNQ I=; IronPort-SDR: qVFvOw9hOQwzz7LNWLKzhhXsQo2E2sNqLNzrlB8HethfMTFymVpHpfqAz36WnI+qOLLiQ/oVoN BysV/LtDOugA== X-IronPort-AV: E=Sophos;i="5.70,382,1574121600"; d="scan'208";a="14944483" Received: from iad12-co-svc-p1-lb1-vlan2.amazon.com (HELO email-inbound-relay-1a-67b371d8.us-east-1.amazon.com) ([10.43.8.2]) by smtp-border-fw-out-2101.iad2.amazon.com with ESMTP; 30 Jan 2020 14:57:54 +0000 Received: from EX13MTAUEA002.ant.amazon.com (iad55-ws-svc-p15-lb9-vlan3.iad.amazon.com [10.40.159.166]) by email-inbound-relay-1a-67b371d8.us-east-1.amazon.com (Postfix) with ESMTPS id E1232A1E6D for ; Thu, 30 Jan 2020 14:57:53 +0000 (UTC) Received: from EX13D32EUC001.ant.amazon.com (10.43.164.159) by EX13MTAUEA002.ant.amazon.com (10.43.61.77) with Microsoft SMTP Server (TLS) id 15.0.1236.3; Thu, 30 Jan 2020 14:57:53 +0000 Received: from EX13MTAUWC001.ant.amazon.com (10.43.162.135) by EX13D32EUC001.ant.amazon.com (10.43.164.159) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Thu, 30 Jan 2020 14:57:51 +0000 Received: from u2f063a87eabd5f.cbg10.amazon.com (10.125.106.135) by mail-relay.amazon.com (10.43.162.232) with Microsoft SMTP Server id 15.0.1367.3 via Frontend Transport; Thu, 30 Jan 2020 14:57:50 +0000 From: Paul Durrant To: Date: Thu, 30 Jan 2020 14:57:41 +0000 Message-ID: <20200130145745.1306-1-pdurrant@amazon.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Precedence: Bulk Subject: [Xen-devel] [PATCH v8 0/4] purge free_shared_domheap_page() X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Paul Durrant Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Paul Durrant (4): x86 / vmx: move teardown from domain_destroy()... add a domain_tot_pages() helper function mm: make pages allocated with MEMF_no_refcount safe to assign x86 / vmx: use a MEMF_no_refcount domheap page for APIC_DEFAULT_PHYS_BASE xen/arch/x86/domain.c | 2 +- xen/arch/x86/hvm/vmx/vmx.c | 25 ++++++++--- xen/arch/x86/mm.c | 19 +++----- xen/arch/x86/mm/p2m-pod.c | 10 ++--- xen/arch/x86/mm/shadow/common.c | 2 +- xen/arch/x86/msi.c | 2 +- xen/arch/x86/numa.c | 2 +- xen/arch/x86/pv/dom0_build.c | 25 ++++++----- xen/arch/x86/pv/domain.c | 2 +- xen/common/domctl.c | 2 +- xen/common/grant_table.c | 4 +- xen/common/keyhandler.c | 2 +- xen/common/memory.c | 4 +- xen/common/page_alloc.c | 78 ++++++++++++++++++++++++--------- xen/include/asm-arm/mm.h | 5 ++- xen/include/asm-x86/mm.h | 9 ++-- xen/include/public/memory.h | 4 +- xen/include/xen/sched.h | 27 +++++++++--- 18 files changed, 143 insertions(+), 81 deletions(-)