History

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.

Libin committed 13 years ago

Commit 2d498db1 parent b11895c1 file · +5 −2Browse files

Showing the changes to kernel/workqueue.c (1 of 1 file). Show all

Unified · Split

kernel/workqueue.c+5−2
@@ -2034,8 +2034,11 @@ static bool maybe_destroy_workers(struct worker_pool *pool) · 2033 unmodified lines
2034 * multiple times. Does GFP_KERNEL allocations.2034 * multiple times. Does GFP_KERNEL allocations.
2035 *2035 *
2036 * RETURNS:2036 * RETURNS:
2037 * spin_lock_irq(pool->lock) which may be released and regrabbed2037 * %false if the pool don't need management and the caller can safely start
2038 * multiple times. Does GFP_KERNEL allocations.2038 * processing works, %true indicates that the function released pool->lock
2039 * and reacquired it to perform some management function and that the
2040 * conditions that the caller verified while holding the lock before
2041 * calling the function might no longer be true.
2039 */2042 */
2040static bool manage_workers(struct worker *worker)2043static bool manage_workers(struct worker *worker)
2041{2044{

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t