WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] tmem: No noise when disabled and not conf

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] tmem: No noise when disabled and not configured
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 20 Jul 2009 04:45:26 -0700
Delivery-date: Mon, 20 Jul 2009 04:46:03 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1247729423 -3600
# Node ID 1033c6cdec62098b38990aaeedbe5111e0ad2e61
# Parent  8368aff1d759c48ea3904094089398c91c3fdc42
tmem: No noise when disabled and not configured

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 xen/common/tmem.c |    6 ------
 1 files changed, 6 deletions(-)

diff -r 8368aff1d759 -r 1033c6cdec62 xen/common/tmem.c
--- a/xen/common/tmem.c Thu Jul 16 08:26:29 2009 +0100
+++ b/xen/common/tmem.c Thu Jul 16 08:30:23 2009 +0100
@@ -1812,7 +1812,6 @@ EXPORT long do_tmem_op(tmem_cli_op_t uop
     bool_t non_succ_get = 0, non_succ_put = 0;
     bool_t flush = 0, flush_obj = 0;
     bool_t tmem_write_lock_set = 0, tmem_read_lock_set = 0;
-    static bool_t warned = 0;
     DECL_LOCAL_CYC_COUNTER(succ_get);
     DECL_LOCAL_CYC_COUNTER(succ_put);
     DECL_LOCAL_CYC_COUNTER(non_succ_get);
@@ -1821,12 +1820,7 @@ EXPORT long do_tmem_op(tmem_cli_op_t uop
     DECL_LOCAL_CYC_COUNTER(flush_obj);
 
     if ( !tmem_initialized )
-    {
-        if ( !warned )
-            printk("tmem: must specify tmem parameter on xen boot line\n");
-        warned = 1;
         return -ENODEV;
-    }
 
     total_tmem_ops++;
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] tmem: No noise when disabled and not configured, Xen patchbot-unstable <=