diff options
| author | Stephen Boyd <[email protected]> | 2012-03-28 21:31:00 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2012-03-28 21:31:00 +0000 |
| commit | a36cf844c543c6193445a7b1492d16e5a8cf376e (patch) | |
| tree | 7839e51c505a12662ada9affef4cc9da5277b192 /lib/debugobjects.c | |
| parent | firmware_class: Reorganize fw_create_instance() (diff) | |
| download | kernel-a36cf844c543c6193445a7b1492d16e5a8cf376e.tar.gz kernel-a36cf844c543c6193445a7b1492d16e5a8cf376e.zip | |
firmware_class: Move request_firmware_nowait() to workqueues
Oddly enough a work_struct was already part of the firmware_work
structure but nobody was using it. Instead of creating a new
kthread for each request_firmware_nowait() call just schedule the
work on the system workqueue. This should avoid some overhead
in forking new threads when they're not strictly necessary.
Signed-off-by: Stephen Boyd <[email protected]>
Acked-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
