Skip to content
Commit 84b233ad authored by Tejun Heo's avatar Tejun Heo
Browse files

workqueue: implement current_is_async()



This function queries whether %current is an async worker executing an
async item.  This will be used to implement warning on synchronous
request_module() from async workers.

Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 2eaebdb3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment