summaryrefslogtreecommitdiffstats
path: root/kernel/power
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2012-03-28 23:31:00 +0200
committerRafael J. Wysocki <rjw@sisk.pl>2012-03-28 23:31:00 +0200
commita36cf844c543c6193445a7b1492d16e5a8cf376e (patch)
tree7839e51c505a12662ada9affef4cc9da5277b192 /kernel/power
parentdddb5549da6b15ea8b9ce9ee0859c8d1fa268b5b (diff)
downloadop-kernel-dev-a36cf844c543c6193445a7b1492d16e5a8cf376e.zip
op-kernel-dev-a36cf844c543c6193445a7b1492d16e5a8cf376e.tar.gz
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 <sboyd@codeaurora.org> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'kernel/power')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud