Roland Dreier wrote:
Rene> I have no idea about the module refcounting stuff. Is there
Rene> a chance that create_workqueue() could increase a reference
Rene> somewhere so that the module wouldn't be allowed to unload
Rene> untill after a destroy_workqueue()?
There's no point to doi
Rene> I have no idea about the module refcounting stuff. Is there
Rene> a chance that create_workqueue() could increase a reference
Rene> somewhere so that the module wouldn't be allowed to unload
Rene> untill after a destroy_workqueue()?
There's no point to doing this, since it's
Roland Dreier wrote:
Not destroying its workqueue is a bug in the module just like any
other resource leak. It's analogous to a module allocating some
memory with kmalloc() and not calling kfree() when it's unloaded.
Except though that with kmalloc() it's indeed just a leak while in this
case thi
On Saturday 19 February 2005 04:57 am, you wrote:
> Vicente> I've been playing with workqueues, and I've found that
> Vicente> once I unload the module, if I don't call
> Vicente> destroy_workqueue(); then the workqueue I've created
> Vicente> stays in the process list, [my_wq], I d
Vicente> What if I need the module to be unloaded cause It's
Vicente> mutually exclusive with another module to be loaded, and
Vicente> I still need to run the works in a workqueue time before
Vicente> that happens? That's completely out of the picture?cause
Vicente> that might
On Saturday 19 February 2005 04:57 am, you wrote:
> Vicente> I've been playing with workqueues, and I've found that
> Vicente> once I unload the module, if I don't call
> Vicente> destroy_workqueue(); then the workqueue I've created
> Vicente> stays in the process list, [my_wq], I d
Vicente> I've been playing with workqueues, and I've found that
Vicente> once I unload the module, if I don't call
Vicente> destroy_workqueue(); then the workqueue I've created
Vicente> stays in the process list, [my_wq], I don't know if
Vicente> that's meant to be, or is it a b
I've been playing with workqueues, and I've found that once I unload the
module, if I don't call destroy_workqueue(); then the workqueue I've created
stays in the process list, [my_wq], I don't know if that's meant to be, or is
it a bug, cause I believe there can be two options in here:
1) It's
8 matches
Mail list logo