mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* why only one use of "create_freezeable_workqueue"?
@ 2007-05-19  4:09 Robert P. J. Day
  2007-05-19  8:29 ` Rafael J. Wysocki
  0 siblings, 1 reply; 2+ messages in thread
From: Robert P. J. Day @ 2007-05-19  4:09 UTC (permalink / raw)
  To: Linux Kernel Mailing List


  hoping to avoid the madness following my earlier, innocuous question
about the lonely, defconfig'ed module scsi_wait_scan.ko, i'm curious
about why there is, in the entire tree, just one invocation of
"create_freezeable_workqueue":

$ grep -rw create_freezeable_workqueue *
drivers/misc/tifm_core.c:       workqueue = create_freezeable_workqueue("tifm");
include/linux/workqueue.h:#define create_freezeable_workqueue(name) __create_workqueue((name), 1, 1)
$

  not that there's anything wrong with that, but i'm just curious as
to why there's only one application of that feature in the whole tree.

rday

-- 
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://fsdev.net/wiki/index.php?title=Main_Page
========================================================================

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: why only one use of "create_freezeable_workqueue"?
  2007-05-19  4:09 why only one use of "create_freezeable_workqueue"? Robert P. J. Day
@ 2007-05-19  8:29 ` Rafael J. Wysocki
  0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2007-05-19  8:29 UTC (permalink / raw)
  To: Robert P. J. Day; +Cc: Linux Kernel Mailing List, Oleg Nesterov

On Saturday, 19 May 2007 06:09, Robert P. J. Day wrote:
> 
>   hoping to avoid the madness following my earlier, innocuous question
> about the lonely, defconfig'ed module scsi_wait_scan.ko, i'm curious
> about why there is, in the entire tree, just one invocation of
> "create_freezeable_workqueue":
> 
> $ grep -rw create_freezeable_workqueue *
> drivers/misc/tifm_core.c:       workqueue = create_freezeable_workqueue("tifm");
> include/linux/workqueue.h:#define create_freezeable_workqueue(name) __create_workqueue((name), 1, 1)
> $
> 
>   not that there's anything wrong with that, but i'm just curious as
> to why there's only one application of that feature in the whole tree.

Because the feature has limitted functionality (signlethread workqueues only),
needs some more work and the use of it is discouraged (for now).

Greetings,
Rafael

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-05-19  8:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-19  4:09 why only one use of "create_freezeable_workqueue"? Robert P. J. Day
2007-05-19  8:29 ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®