Skip to content
Snippets Groups Projects
Commit d2ccafff authored by Eric Mei's avatar Eric Mei
Browse files

branch: HEAD

remove from wait queue after wake up, found by alex.
b=16713
r=alex
r=rread
parent dd9cc847
No related branches found
No related tags found
No related merge requests found
......@@ -542,12 +542,13 @@ again:
page_pools.epp_st_max_wqlen =
page_pools.epp_waitqlen;
set_current_state(TASK_UNINTERRUPTIBLE);
set_current_state(CFS_TASK_UNINT);
cfs_waitlink_init(&waitlink);
cfs_waitq_add(&page_pools.epp_waitq, &waitlink);
spin_unlock(&page_pools.epp_lock);
cfs_schedule();
cfs_waitq_wait(&waitlink, CFS_TASK_UNINT);
cfs_waitq_del(&page_pools.epp_waitq, &waitlink);
spin_lock(&page_pools.epp_lock);
LASSERT(page_pools.epp_waitqlen > 0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment