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-ia64-devel

[Xen-devel] [PATCH] Reduce length of accel_watch workqueue name

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] Reduce length of accel_watch workqueue name
From: Neil Turton <nturton@xxxxxxxxxxxxxx>
Date: Mon, 17 Mar 2008 14:54:30 +0000
Cc: KUWAMURA Shin'ya <kuwa@xxxxxxxxxxxxxx>, Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>, xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 17 Mar 2008 07:55:00 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <D6C885C23D425Fkanno.masaki@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20080314.172738.149717742.kuwa@xxxxxxxxxxxxxx> <D6C885C23D425Fkanno.masaki@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.0 (X11/20070326)
As reported reported (see link below) the first argument to
create_workqueue is limited to 10 character on RHEL4U2.  This patch
shortens the length and makes the workqueue name a little more descriptive.

http://lists.xensource.com/archives/html/xen-devel/2008-03/msg00417.html

Signed-off-by: Neil Turton <nturton@xxxxxxxxxxxxxx>

diff -r 3983b041fc51 drivers/xen/netfront/accel.c
--- a/drivers/xen/netfront/accel.c      Mon Mar 10 22:53:07 2008 +0000
+++ b/drivers/xen/netfront/accel.c      Mon Mar 17 14:01:17 2008 +0000
@@ -71,7 +71,7 @@ void netif_init_accel(void)
        INIT_LIST_HEAD(&accelerators_list);
        spin_lock_init(&accelerators_lock);

-       accel_watch_workqueue = create_workqueue("accel_watch");
+       accel_watch_workqueue = create_workqueue("net_accel");
 }

 void netif_exit_accel(void)


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