[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] name blkback kernel thread


  • To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
  • From: Rik van Riel <riel@xxxxxxxxxx>
  • Date: Tue, 24 Aug 2004 14:14:13 -0400 (EDT)
  • Delivery-date: Tue, 24 Aug 2004 19:30:39 +0100
  • List-id: List for Xen developers <xen-devel.lists.sourceforge.net>

Currently the blkback kernel thread doesn't set its own name,
nor does it do some of the other initialisation that it should
do.

This trivial patch makes it call daemonize, like other similar
kernel threads.  Now it shows up in top with a proper name.
The fact that it blocks dangerous signals should help, too ;)

--- linux-2.6.7-xen-sparse/drivers/xen/blkback/blkback.c.orig   2004-08-24 
13:58:51.000000000 -0400
+++ linux-2.6.7-xen-sparse/drivers/xen/blkback/blkback.c        2004-08-24 
14:00:06.000000000 -0400
@@ -145,6 +145,7 @@ static int blkio_schedule(void *arg)
 
     blkif_t          *blkif;
     struct list_head *ent;
+    daemonize("xenblkd");
 
     for ( ; ; )
     {



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.