From patchwork Mon Oct 3 14:02:48 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vitaly Kuznetsov X-Patchwork-Id: 9360629 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id EADD1601C0 for ; Mon, 3 Oct 2016 14:05:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D9B442793D for ; Mon, 3 Oct 2016 14:05:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CA4F52890D; Mon, 3 Oct 2016 14:05:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D0A202793D for ; Mon, 3 Oct 2016 14:05:29 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1br3pX-0007rw-Gq; Mon, 03 Oct 2016 14:02:55 +0000 Received: from mail6.bemta6.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1br3pW-0007ro-Fq for xen-devel@lists.xenproject.org; Mon, 03 Oct 2016 14:02:54 +0000 Received: from [85.158.143.35] by server-1.bemta-6.messagelabs.com id BB/E8-01767-D0562F75; Mon, 03 Oct 2016 14:02:53 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrNLMWRWlGSWpSXmKPExsVysWW7jC5P6qd wg+u7LSy+b5nM5MDocfjDFZYAxijWzLyk/IoE1oyPU56yFmziqNjYtZCxgbGJvYuRi0NIYA+T xL+Nc1ggnMOMEhcPnmLrYuTkYBPQkfj+9BQziC0ioCRxb9VkJpAiZoHljBK7Dj8CSnBwCAvYS dy7JQlisgioSlw6ZwJSzivgLHH2ZTPYGAkBbYmP348xgrRKCPQxSny+/Y51AiPXAkaGVYwaxa lFZalFukaGeklFmekZJbmJmTm6hgZmermpxcWJ6ak5iUnFesn5uZsYgZ5kAIIdjH+WBRxilOR gUhLl9d/8MVyILyk/pTIjsTgjvqg0J7X4EKMMB4eSBK9UyqdwIcGi1PTUirTMHGBIwaQlOHiU RHg9QNK8xQWJucWZ6RCpU4yKUuK8R5KBEgIgiYzSPLg2WBhfYpSVEuZlBDpEiKcgtSg3swRV/ hWjOAejkjDvJ5ApPJl5JXDTXwEtZgJaHLjlA8jikkSElFQD44Kj6hXX7O+yrBZf9v/S5X4zHZ HFG27HFSbtPBC3/9v8zBl+LUo7mw5WJ0ZlzNnslbL5bCAPj/Hc6vDdWvz1R741b+Je4Nkj0KZ QvMbSaMPhszf1Feq2zJp5W+1PCsvCsvgHm1jvCqVfu+/77Vxh4G7VvpX1cfpizALvN3frpMxe 1O1w3UC1UYmlOCPRUIu5qDgRAK2oKupeAgAA X-Env-Sender: vkuznets@redhat.com X-Msg-Ref: server-9.tower-21.messagelabs.com!1475503371!36107436!1 X-Originating-IP: [209.132.183.28] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogMjA5LjEzMi4xODMuMjggPT4gNTQwNjQ=\n X-StarScan-Received: X-StarScan-Version: 8.84; banners=-,-,- X-VirusChecked: Checked Received: (qmail 50234 invoked from network); 3 Oct 2016 14:02:52 -0000 Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by server-9.tower-21.messagelabs.com with DHE-RSA-AES256-GCM-SHA384 encrypted SMTP; 3 Oct 2016 14:02:52 -0000 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 43D8331B329; Mon, 3 Oct 2016 14:02:51 +0000 (UTC) Received: from vitty.brq.redhat.com (vitty.brq.redhat.com [10.34.26.3]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u93E2ne8032233; Mon, 3 Oct 2016 10:02:49 -0400 From: Vitaly Kuznetsov To: xen-devel@lists.xenproject.org Date: Mon, 3 Oct 2016 16:02:48 +0200 Message-Id: <1475503368-22878-1-git-send-email-vkuznets@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.26 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Mon, 03 Oct 2016 14:02:51 +0000 (UTC) Cc: Juergen Gross , Boris Ostrovsky , linux-kernel@vger.kernel.org, David Vrabel Subject: [Xen-devel] [PATCH RFC] xen: make it possible to disable XEN_TMEM X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP XEN_TMEM config option has no prompt and it is enabled as module by default if CLEANCACHE or FRONTSWAP options are set with no way to disable it. The only in-tree user of the tmem interface is xen-selfballoon which can itself be disabled so it makes sense to make it possible to disable XEN_TMEM too. In theory, both these options could be unified under the XEN_SELFBALLOONING but other (out-of-tree) users of the tmem interface may exist and someone may want to keep them supported without enabling XEN_SELFBALLOONING. Signed-off-by: Vitaly Kuznetsov --- - I don't know much about tmem and its users thus RFC. --- drivers/xen/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/xen/Kconfig b/drivers/xen/Kconfig index f15bb3b7..0ea1df8 100644 --- a/drivers/xen/Kconfig +++ b/drivers/xen/Kconfig @@ -166,7 +166,7 @@ config SWIOTLB_XEN select SWIOTLB config XEN_TMEM - tristate + tristate "Transcendent Memory support for Xen" depends on !ARM && !ARM64 default m if (CLEANCACHE || FRONTSWAP) help