commit | 3f776e8a25a9d281125490562e1cc5bd7c14cf7c | [log] [tgz] |
---|---|---|
author | Anton Blanchard <anton@samba.org> | Tue Oct 30 14:57:43 2007 -0700 |
committer | Roland Dreier <rolandd@cisco.com> | Tue Oct 30 14:57:43 2007 -0700 |
tree | 6f47d656cf44fe1f38c9b3cf2476c4f209209bec | |
parent | 164ef7a25285bbc42d8177f454b31631ca4d3ec7 [diff] |
IB/fmr_pool: Stop ib_fmr threads from contributing to load average I noticed my machine was at a constant load average of 1. This was because ib_create_fmr_pool calls kthread_create but does not immediately wake the thread up. Change to using kthread_run so we enter ib_fmr_cleanup_thread(), set TASK_INTERRUPTIBLE, then go to sleep. Signed-off-by: Roland Dreier <rolandd@cisco.com>