Re: [PATCH] Use workqueue for call_usermodehelper

From: Brian King
Date: Wed Apr 21 2004 - 08:44:21 EST


Chris Wright wrote:
* Rusty Russell (rusty@xxxxxxxxxxxxxxx) wrote:

[ Vatsa, this should solve your NUMA+HOTPLUG_CPU deadlock too, I think ]

This uses the create_singlethread_workqueue() function presented in the
last patch, although it could just as easily use create_workqueue().


Nice, this seems like it should fixup the problem Brian was seeing too,
and maintain return code from kernel_thread(), etc. instead of the async
option. Brian, did you give these changes a whirl? (they're in latest
-mm tree)

I tried out the fix on my system and it seemed to work fine. However, I
am having trouble recreating the deadlock with old code now that my
system has been reconfigured...

-Brian


--
Brian King
eServer Storage I/O
IBM Linux Technology Center

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/