mirror of
https://github.com/torvalds/linux
synced 2024-09-20 11:07:02 +00:00
workqueue: Fix manage_workers() RETURNS description
No functional change. The comment of function manage_workers() RETURNS description is obvious wrong, same as the CONTEXT. Fix it. Signed-off-by: Libin <huawei.libin@huawei.com> Signed-off-by: Tejun Heo <tj@kernel.org>
This commit is contained in:
parent
b11895c458
commit
2d498db981
|
@ -2034,8 +2034,11 @@ static bool maybe_destroy_workers(struct worker_pool *pool)
|
||||||
* multiple times. Does GFP_KERNEL allocations.
|
* multiple times. Does GFP_KERNEL allocations.
|
||||||
*
|
*
|
||||||
* RETURNS:
|
* RETURNS:
|
||||||
* spin_lock_irq(pool->lock) which may be released and regrabbed
|
* %false if the pool don't need management and the caller can safely start
|
||||||
* multiple times. Does GFP_KERNEL allocations.
|
* processing works, %true indicates that the function released pool->lock
|
||||||
|
* and reacquired it to perform some management function and that the
|
||||||
|
* conditions that the caller verified while holding the lock before
|
||||||
|
* calling the function might no longer be true.
|
||||||
*/
|
*/
|
||||||
static bool manage_workers(struct worker *worker)
|
static bool manage_workers(struct worker *worker)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue