r=eeb,adilger,nic(original author) Insert cond_resched in ptlrpc_main to give other threads a chance to use some cp u.