From patchwork Wed Jan 29 17:10:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Durrant X-Patchwork-Id: 11356609 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 C33501398 for ; Wed, 29 Jan 2020 17:11:58 +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 9F7D3206D4 for ; Wed, 29 Jan 2020 17:11:58 +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="qlP2Xtxl" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9F7D3206D4 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 1iwqrO-0006GY-S1; Wed, 29 Jan 2020 17:10:38 +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 1iwqrN-0006GS-S2 for xen-devel@lists.xenproject.org; Wed, 29 Jan 2020 17:10:37 +0000 X-Inumbo-ID: 44cc5678-42ba-11ea-8926-12813bfff9fa Received: from smtp-fw-2101.amazon.com (unknown [72.21.196.25]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 44cc5678-42ba-11ea-8926-12813bfff9fa; Wed, 29 Jan 2020 17:10:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1580317838; x=1611853838; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=v73B9LpfbhEBvaFKv3PmKpX/J9QXYEbG2n9PeUzXXE4=; b=qlP2XtxlMxwUmPHYH2JBFLQzy6jxBbi2u4xWf5k0V5+oa7Q42+ztFGY0 /ZDEb9y9tIPJust6XBLRb6sZnZNZjwGQe10dDz/0AXaG43LjWVD3HnhTF 8LJsWl0JYOqvn78Vs3pnHWQdbv6jFtUIKsV+ujtE4zJ+ZuGNazN8IrmzY g=; IronPort-SDR: 2HkoUsvugW+23eouC0VMysudtsgERozIasAvm3bib/1mLFvr2mJydPSBcuRJQSWmmQDUg9rjvL 1HxdhG5JtNYg== X-IronPort-AV: E=Sophos;i="5.70,378,1574121600"; d="scan'208";a="14793172" Received: from iad12-co-svc-p1-lb1-vlan2.amazon.com (HELO email-inbound-relay-2c-2225282c.us-west-2.amazon.com) ([10.43.8.2]) by smtp-border-fw-out-2101.iad2.amazon.com with ESMTP; 29 Jan 2020 17:10:36 +0000 Received: from EX13MTAUEA002.ant.amazon.com (pdx4-ws-svc-p6-lb7-vlan3.pdx.amazon.com [10.170.41.166]) by email-inbound-relay-2c-2225282c.us-west-2.amazon.com (Postfix) with ESMTPS id 4AB26A2720 for ; Wed, 29 Jan 2020 17:10:35 +0000 (UTC) Received: from EX13D32EUC004.ant.amazon.com (10.43.164.121) by EX13MTAUEA002.ant.amazon.com (10.43.61.77) with Microsoft SMTP Server (TLS) id 15.0.1236.3; Wed, 29 Jan 2020 17:10:35 +0000 Received: from EX13MTAUWB001.ant.amazon.com (10.43.161.207) by EX13D32EUC004.ant.amazon.com (10.43.164.121) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Wed, 29 Jan 2020 17:10:33 +0000 Received: from u2f063a87eabd5f.cbg10.amazon.com (10.125.106.135) by mail-relay.amazon.com (10.43.161.249) with Microsoft SMTP Server id 15.0.1367.3 via Frontend Transport; Wed, 29 Jan 2020 17:10:31 +0000 From: Paul Durrant To: Date: Wed, 29 Jan 2020 17:10:27 +0000 Message-ID: <20200129171030.1341-1-pdurrant@amazon.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Precedence: Bulk Subject: [Xen-devel] [PATCH v7 0/3] 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" Drop "mm: modify domain_adjust_tot_pages() to better handle a zero adjustment". Paul Durrant (3): x86 / vmx: move teardown from domain_destroy()... 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/hvm/vmx/vmx.c | 25 +++++++++++++++---- xen/arch/x86/mm.c | 15 ++++-------- xen/common/page_alloc.c | 49 ++++++++++++++++++++++++++++---------- xen/include/asm-arm/mm.h | 5 +++- xen/include/asm-x86/mm.h | 9 +++---- xen/include/xen/sched.h | 18 +++++++------- 6 files changed, 80 insertions(+), 41 deletions(-)