From patchwork Tue Mar 10 17:49:12 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Paul Durrant X-Patchwork-Id: 11430017 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 4EC2E92A for ; Tue, 10 Mar 2020 17:51:54 +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 33B2D21927 for ; Tue, 10 Mar 2020 17:51:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 33B2D21927 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=xen.org 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 1jBj0R-0008QK-AR; Tue, 10 Mar 2020 17:49:27 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1jBj0P-0008QF-N8 for xen-devel@lists.xenproject.org; Tue, 10 Mar 2020 17:49:25 +0000 X-Inumbo-ID: 7ad70d96-62f7-11ea-b34e-bc764e2007e4 Received: from smtp-fw-33001.amazon.com (unknown [207.171.190.10]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 7ad70d96-62f7-11ea-b34e-bc764e2007e4; Tue, 10 Mar 2020 17:49:25 +0000 (UTC) IronPort-SDR: CBsV8xoJxO0V8MDOo++6yjaqLg961m4WuameZstQgA22IrrAwVgFmE1xbDwZgdWJ8aLJg+CgDX jSrG/5n4Pdrg== X-IronPort-AV: E=Sophos;i="5.70,537,1574121600"; d="scan'208";a="31778839" Received: from sea32-co-svc-lb4-vlan3.sea.corp.amazon.com (HELO email-inbound-relay-2c-6f38efd9.us-west-2.amazon.com) ([10.47.23.38]) by smtp-border-fw-out-33001.sea14.amazon.com with ESMTP; 10 Mar 2020 17:49:24 +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-6f38efd9.us-west-2.amazon.com (Postfix) with ESMTPS id 0AA6DA2152; Tue, 10 Mar 2020 17:49:22 +0000 (UTC) Received: from EX13D32EUB001.ant.amazon.com (10.43.166.125) by EX13MTAUEA002.ant.amazon.com (10.43.61.77) with Microsoft SMTP Server (TLS) id 15.0.1236.3; Tue, 10 Mar 2020 17:49:22 +0000 Received: from EX13MTAUEB002.ant.amazon.com (10.43.60.12) by EX13D32EUB001.ant.amazon.com (10.43.166.125) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 10 Mar 2020 17:49:21 +0000 Received: from u2f063a87eabd5f.cbg10.amazon.com (10.125.106.135) by mail-relay.amazon.com (10.43.60.234) with Microsoft SMTP Server id 15.0.1367.3 via Frontend Transport; Tue, 10 Mar 2020 17:49:19 +0000 From: To: Date: Tue, 10 Mar 2020 17:49:12 +0000 Message-ID: <20200310174917.1514-1-paul@xen.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Precedence: Bulk Subject: [Xen-devel] [PATCH v6 0/5] remove one more shared xenheap page: shared_info 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: Stefano Stabellini , Julien Grall , Wei Liu , Paul Durrant , Andrew Cooper , Paul Durrant , Konrad Rzeszutek Wilk , Ian Jackson , George Dunlap , Tim Deegan , Tamas K Lengyel , Jan Beulich , Volodymyr Babchuk , =?utf-8?q?Roger_Pau_Monn?= =?utf-8?q?=C3=A9?= Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" From: Paul Durrant Paul Durrant (5): domain: introduce alloc/free_shared_info() helpers... mm: keep PGC_extra pages on a separate list x86 / ioreq: use a MEMF_no_refcount allocation for server pages... mm: add 'is_special_page' inline function... domain: use PGC_extra domheap page for shared_info xen/arch/arm/domain.c | 10 +++---- xen/arch/arm/mm.c | 2 +- xen/arch/x86/domain.c | 22 ++++++++++----- xen/arch/x86/domctl.c | 2 +- xen/arch/x86/hvm/ioreq.c | 2 +- xen/arch/x86/mm.c | 11 ++++---- xen/arch/x86/mm/altp2m.c | 2 +- xen/arch/x86/mm/mem_sharing.c | 3 +-- xen/arch/x86/mm/p2m-pod.c | 10 ++++--- xen/arch/x86/mm/shadow/common.c | 13 +++++---- xen/arch/x86/mm/shadow/multi.c | 2 +- xen/arch/x86/pv/dom0_build.c | 2 +- xen/arch/x86/pv/shim.c | 2 +- xen/arch/x86/tboot.c | 4 +-- xen/common/domain.c | 47 +++++++++++++++++++++++++++++++++ xen/common/domctl.c | 2 +- xen/common/event_channel.c | 3 +++ xen/common/page_alloc.c | 2 +- xen/common/time.c | 19 +++++++++++-- xen/include/asm-x86/mm.h | 6 ++--- xen/include/asm-x86/shared.h | 15 ++++++----- xen/include/xen/domain.h | 3 +++ xen/include/xen/mm.h | 10 ++++--- xen/include/xen/sched.h | 17 +++++++++++- xen/include/xen/shared.h | 2 +- 25 files changed, 154 insertions(+), 59 deletions(-) --- Cc: Andrew Cooper Cc: George Dunlap Cc: Ian Jackson Cc: Jan Beulich Cc: Julien Grall Cc: Konrad Rzeszutek Wilk Cc: Paul Durrant Cc: "Roger Pau Monné" Cc: Stefano Stabellini Cc: Tamas K Lengyel Cc: Tim Deegan Cc: Volodymyr Babchuk Cc: Wei Liu